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=8864>.
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=8864

Two attributes with same name in different namespaces on same element

           Summary: Two attributes with same name in different namespaces on
                    same element
           Product: Xerces2-J
           Version: 2.0.1
          Platform: All
               URL: http://www.cqrdata.com
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The following xml parses with xerces 1.4.4 but not with xerces 2.0.1

<root att="x" xmlns:att="bla">
 <element att:att="aaa"/>
</root>

The following error is generated.

org.xml.sax.SAXParseException: Attribute "att" bound to namespace "null" was already 
specified for element "root".
        at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
        at 
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)

Presumably there is a bug in how the SAX parser handles the namespace attribute.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to