You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/06/25 21:52:24 UTC
DO NOT REPLY [Bug 7972] -
Presence of internal subset breaks XPathAPI query
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=7972>.
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=7972
Presence of internal subset breaks XPathAPI query
zongaro@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|org.apache.xpath |DOM
OS/Version|Linux |All
Product|XalanJ2 |Xerces2-J
Platform|PC |All
Version|2.3 |2.0.1
------- Additional Comments From zongaro@ca.ibm.com 2002-06-25 19:52 -------
I think this is a Xerces bug. The DOM tree that's created doesn't contain
any Text nodes. The AbstractDOMParser.characters method checks the condition
else if (!fInDTD)
before creating Text nodes, and its value is always false; i.e., it always
thinks it's processing the DTD. It looks like AbstractDOMParser.startDTD is
called (for the failing file), but the endDTD method is never called.