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 2002/03/06 01:12:16 UTC

DO NOT REPLY [Bug 6892] New: - Attribute with same name as NS prefix generates incorrect 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=6892>.
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=6892

Attribute with same name as NS prefix generates incorrect error

           Summary: Attribute with same name as NS prefix generates
                    incorrect error
           Product: Xerces2-J
           Version: 2.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: jim@xylogy.com


<NS:ele NS="123" xmlns:NS="http://www.xylogy.com/Apps/NS"/>

Above XML generates message:

Attribute "NS" bound to namespace "null" was already specified for 
element "NS:ele"

The code in org.apache.xerces.impl.XMLNamespaceBinder, line 811, which checks 
for duplicate attributes does not allow for prefix binding attributes

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org