DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13906>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13906 Xalan Serializer create xml:ns attribute on doc element Summary: Xalan Serializer create xml:ns attribute on doc element Product: XalanC Version: 1.4.x Platform: Sun OS/Version: Solaris Status: NEW Severity: Minor Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] xml:ns attribute is always set when serializing the Document Element Node with FormatterTreeWalker, whether the original document element contained a value for this node or not. I have verified that this occurs when the XalanNode was originally parsed with the XalanSourceTree, I have not verified that it occurs when using a XalanNode created by the Builder, Xerces Bridge or something else. If I run the SerializeNodeSet sample code to serialize the document element node, the value: "http://www.w3.org/XML/1998/namespace" is assigned to this attribute on the document element node. Here is an example of the output: 17% SerializeNodeSet ../samples/SerializeNodeSet/foo.xml / doc <doc xmlns:xml="http://www.w3.org/XML/1998/namespace"> <name last="Marston" first="David">Mr. Marston</name> <name last="Bertoni" first="David">Mr. Bertoni</name> <name last="Leslie" first="Donald">Mr. Leslie</name> <name last="Farmer" first="Emily">Ms. Farmer</name> <name last="Midy" first="Myriam">Ms. Midy</name> <name last="Dick" first="Paul">Mr. Dick</name> <name last="Boag" first="Scott">Mr. Boag</name> <name last="Curcuru" first="Shane">Mr. Curcuru</name> <name last="Kesselman" first="Joseph">Mr. Kesselman</name> <name last="Auriemma" first="Stephen">Mr. Auriemma</name> </doc>18%
