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/12/31 13:18:39 UTC
DO NOT REPLY [Bug 15737] New: -
Problem with using relative URI in XML DOCTYPE
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=15737>.
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=15737
Problem with using relative URI in XML DOCTYPE
Summary: Problem with using relative URI in XML DOCTYPE
Product: Xerces2-J
Version: 2.2.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: SAX
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: vedesh@savvion.com
If the input XML to the parser contains a DOCTYPE as follows:
<!DOCTYPE Process SYSTEM "../../common/processtemplates/processTemplate.dtd">
and if Entity Resolver is set for this path, the parser
tries to call resolveEntity() method after absoluting the above path with
respect
to the current path. This is incorrect.
e.g.
if we run the program from D:\xerces\test then, EVEN if entity resolver is set,
we get error message as D:\common\processtemplates\processTemplate.dtd not
found.
Ideally, because entity resolver is set, I expect that the resolveEntity()
method
will take precedence over the default parser behaviour.
Please verify.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org