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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to