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/04 14:45:05 UTC
DO NOT REPLY [Bug 6845] New: -
Current DOM element while parsing property id is set incorrectly
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=6845>.
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=6845
Current DOM element while parsing property id is set incorrectly
Summary: Current DOM element while parsing property id is set
incorrectly
Product: Xerces2-J
Version: 2.0.0
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Minor
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: valikov@fzi.de
In AbstractDOMParser CURRENT_ELEMENT_NODE property ID is set as (lines 157-158):
protected static final String CURRENT_ELEMENT_NODE =
Constants.XERCES_FEATURE_PREFIX + Constants.CURRENT_ELEMENT_NODE_PROPERTY;
I believe it should be:
protected static final String CURRENT_ELEMENT_NODE =
Constants.XERCES_PROPERTY_PREFIX + Constants.CURRENT_ELEMENT_NODE_PROPERTY;
This is incorrect. The documentation says that current element node property
has ID "http://apache.org/xml/properties/dom/current-element-node". With the
declaration listed above the working version is:
"http://apache.org/xml/features/dom/current-element-node"
A minor bug, but took me a while to understand, what's wrong.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org