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/05/07 13:55:08 UTC
DO NOT REPLY [Bug 8864] New: -
Two attributes with same name in different namespaces on same element
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: xerces-j-dev@xml.apache.org
ReportedBy: richard.zschech@cqrdata.com
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org