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=7205>. 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=7205 Attributes arg of startElement() contains namespace declarations. Summary: Attributes arg of startElement() contains namespace declarations. Product: XalanJ2 Version: CurrentCVS Platform: All URL: http://http:// OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: javax.xml AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This bug occurs when I use a javax.xml.transform.sax.TransformerHandler to transform a document, such that the result tree is sent to an org.xml.sax.ContentHandler. When the TransformerHandler calls ContentHandler.startElement() to report the start of the document element, which has an XML namespace, the attributes argument contains the namespace declaration attribute (e.g., xmlns:u="http://www.example.com/"), even though the SAX2 http://xml.org/sax/features/namespace-prefixes feature is false. According to the SAX2 standard, the attributes argument of the ContentHandler.startElement() method should not contain any XML namespace declarations when the SAX2 http://xml.org/sax/features/namespace-prefixes feature false.
