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

Incorrect parameters passed to MessageFormatter for AttributeNSNotUnique error.

           Summary: Incorrect parameters passed to MessageFormatter for
                    AttributeNSNotUnique error.
           Product: Xerces2-J
           Version: 2.3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In XMLNSDocumentScannerImpl, the namespace URI of the attribute is passed to 
the message formatter in place of where the attribute name should be.

So for an ill formed doc such as:

<root xmlns:a="http://www.w3.org"; xmlns:b="http://www.w3.org";>
 <a:child a:attrib="val1" b:attrib="val12"/>
</root>

The error message emitted is:

Attribute "http://www.w3.org"; bound to namespace "http://www.w3.org"; was 
already specified for element "a:child".

instead of:

Attribute "b:attrib" bound to namespace "http://www.w3.org"; was already 
specified for element "a:child".

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

Reply via email to