Hi, I'm using latest CVs of Xalan-2.2
with the current implementation of the DOMBuilder (or the DOMStreamer?), there are still problems with namespaces. Attached is a test class (called Test2) and an XML document (a.xml). The test class reads the document using a SAX Parser, and creates a DOM object. Then an inner child of the DOM is serialized to a new document called b.xml. As you can see, the resulting document has no namespace declarations! Carsten
<?xml version="1.0"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <!-- =========================== Components ================================ --> <map:components> <test:tag xmlns:test="http://testservice"/> </map:components> </map:sitemap> <!-- end of file -->
Test2.java
Description: Binary data
<?xml version="1.0" encoding="UTF-8"?> <map:components> <test:tag xmlns:test="http://testservice"/> </map:components>
