You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/02/25 18:31:34 UTC
DO NOT REPLY [Bug 17381] New: -
Incorrect parameters passed to MessageFormatter for AttributeNSNotUnique error.
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: xerces-j-dev@xml.apache.org
ReportedBy: mrglavas@ece.uwaterloo.ca
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org