Thanks for the help, > I cannot seem to reproduce the bug (although I already had it once > myself). Could you provide an isolated test case - as simple as it can be?
well as Marco simply described it, it's just the <jx:import uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/> where ever you put it, the tag that follows the import will carry the weird NS. one important thing is that to see the NS, you need to intercept it in the generator, call the page_jx?cocoon-view=pretty (label="display" ) otherwise the serialiser removes it. Regards Tibor here's the simple example: **************** pipeline ***************** a simple jx generator with display <map:match pattern="**_jx"> <map:generate type="jx" src="{1}_jx.xml" label="display"> <map:serialize type="xml"/> </map:match> if you serialise to xml you wont see it, intercept the generator (display) ************* page_jx.xml ************* <?xml version="1.0" encoding="UTF-8"?> <page xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"> <jx:import uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/> <head> <title>Cocorico</title> </head> </page>