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/02/07 11:07:26 UTC

DO NOT REPLY [Bug 6302] New: - systemID in EntityResolver.resolveEntity() is always absolute URI

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=6302>.
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=6302

systemID in EntityResolver.resolveEntity() is always absolute URI

           Summary: systemID in EntityResolver.resolveEntity() is always
                    absolute URI
           Product: Xerces2-J
           Version: 2.0.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: matja@seznam.cz


After corrections of bug: systemID always being null, now there is another 
serious problem: relative systemID value from xml file is converted to absolute 
URI already BEFORE calling EntityResolver.resolveEntity() - this should be done 
only AFTER the call.

As a result, I cannot efectively redirect relative DTDs, because I don't know, 
what value was originally stored in XML file.

I think that systemID should contain identical value, that is in XML.
If XML contains row 

<!DOCTYPE Zmluvy SYSTEM "zmluvy.dtd">

systemID should have value 
   systemID="Zmluvy.dtd" 

but in reality it gives me 
   systemID="file:///C:/xml/sax/test/zmluvy.dtd"

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org