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


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

Reply via email to