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=6138>. 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=6138 resolveEntity called with null SystemId for PUBLIC + relative paths Summary: resolveEntity called with null SystemId for PUBLIC + relative paths Product: Xerces2-J Version: 2.0.0 Platform: All OS/Version: All Status: NEW Severity: Critical Priority: Other Component: SAX AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When xerces parses following xml file <!DOCTYPE root PUBLIC "somePubId" "../relative/schema.dtd"> <root ...> it calls the external entity resolver with a null SystemId and "somePubId" for publicId. Instead, the SystemId parameter to org.xml.sax.EntityResolver should be the absolute path. I think the problem is at XMLEntityManager ::resolveEntity line 523 in org.apache.xerces.impl. It should check and expand expandedSystemId before passing it on. By the way: xerces fails the relevant sax2unit tests from http://sourceforge.net/project/showfiles.php?group_id=8114 as referred by http://www.saxproject.org/ Anli Shundi [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
