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=25466>. 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=25466 DOM serialization omits attribute namespace declarations Summary: DOM serialization omits attribute namespace declarations Product: XalanJ2 Version: 2.5Dx Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: org.apache.xalan.serialize AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When serializing a DOM using the identity transform, Xalan omits all attribute namespace declarations resulting in invalid XML. See the attached code for an example. XalanJ 2.5.2 produces: <?xml version="1.0" encoding="UTF-8"?> <element ns:attr="value"/> Whereas the correct output should be: <?xml version="1.0" encoding="UTF-8"?> <element xmlns:ns="http://www.namespaceuri.com/" ns:attr="value"/> As produced by SAXON et al.
