[Yanel-dev] xml resource-type lossing namespace declaration when applying xslt

simon litwan simon.litwan at wyona.com
Thu Jun 25 10:03:40 CEST 2009


hi all

i have a probelm with basicxml based resource-types. when i want to 
generate a xml (not xhtml) it looses namespace declarations when 
transformed by a xslt.

for example if i have following source file:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
[...]
</fo:root>

and do not apply any xslt the result is


<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
[...]
</fo:root>

as soon as i apply an xslt the reult looks like this


<fo:root>
[...]
</fo:root>

even if i put the namspace declaration in the xslt it is lost in the output.

i think this is a bug which should be fixed.

i did debugging for a few hours, but don't get the point. any idea/help 
would be highly appreciated.

simon


More information about the Yanel-development mailing list