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=13202>. 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=13202 Wrong systemId pass to EntityResolver [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From [EMAIL PROTECTED] 2002-10-16 05:25 ------- Hi Neil . >The parser doesn't know the semantics of the mydepend URI scheme; >i.e., it can't know what it means to "absolutize" a URI in this scheme. Yes,yes,yes! It is job of my EntityResolver! >Maybe what I should have asked the first time though is what the InputSource >you're handing back to the parser in the first EntityResolver call looks like. No, it's simple. If EntityResolver is set then this EntityResolver must resovle and return InputSource else return null. API: "Returns: An InputSource object describing the new input source, or null to request that the parser open a regular URI connection to the system identifier." >If you set the systemId of that source to be something like >file:///home/vic/dtd/docbookx.dtd, then the parser will have something to >absolutize the relative URI in the external subset too, and it should give you >a more accurate result No, it's very bad way. My example use *.dtd files stored on disk, but I can store dtd files on http://.... or dbaccess://.... And what? First request will be form database and second from FS ? Analogical: http browser must allways to read local file when it got relative link form html page ? Victor --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
