Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0
-
None
-
None
-
Operating System: All
Platform: All
-
5779
Description
The current implementation of the DOMBuilder or the DOM serializer (I really
don't know) has problems when serializing DOM nodes.
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! (However serializing the whole document a.xml
works fine.)
Either the used DOMBuilder doesn't set the namespace information correctly in
the DOM or the serializer doesn't look up the namespace information from parent
nodes.
Attachments
Attachments
Issue Links
- is duplicated by
-
XALANJ-1749 DOM serialization omits attribute namespace declarations
- Resolved
- is related to
-
XALANJ-2091 Namespace attributes not added as attributes when using TransformerIdentityImpl
- Resolved