cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Geissler" <M.Geiss...@wika.de>
Subject Re: Re: Source Write Transformer and Namespace
Date Wed, 13 Aug 2003 09:22:28 GMT
Hi,
I neet the namespace in the file I want to write.
I want to writee.g. an  i18n catalog with the Source Write Transformer.


>>> thorsten@apache.org Dienstag, 12. August 2003 16:04:37 >>>
Hi Martin,

why are you not using the second file? First transform (xslt) the first 
one, get rid of the namespaces and then go ahead without crash!

Hope that helps!
</Thorsten>

Martin Geissler wrote:
> Hi all!
> 
> While trying to write a xml- fragment with the sourcewritingtransformer to my harddisk,

> cocoon crashes and i get a blank page or an error page -depending of the browser i use-.

> This behaviour is only when theres a namespace in the xml-fragment.
> Here's my xml-File.
> 
> <default xmlns:source="http://apache.org/cocoon/source/1.0"
>            xmlns:session="http://cocoon.apache.org/session/1.0">
>     <source:write>
>         <source:source>test.xml</source:source>
>         <source:fragment>
>            <test xmlns:myns="http://myns/1.0">blah, blah, blah</test>
>         </source:fragment>
>     </source:write>
> </default>
> 
> whereas the same xml-file without the myns- namespace works!
> 
> <default xmlns:source="http://apache.org/cocoon/source/1.0"
>            xmlns:session="http://cocoon.apache.org/session/1.0">
>     <source:write>
>         <source:source>test.xml</source:source>
>         <source:fragment>
>            <test>blah, blah, blah</test>
>         </source:fragment>
>     </source:write>
> </default>
> 
> 
> Any help is very appreciated
> 
> Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
For additional commands, e-mail: users-help@cocoon.apache.org 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message