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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to