Hi all,

I have written an XML editing application and one of the functions is to parse a textual representation of XML within the application, which i do using an input stream as an LSInput. This all works fine, except for when there is an external link to a dtd using a relative address. I can see the problem from the error message is that the parser uses the current directory of the application plus the dtd name as the path to the dtd, which is obviously not correct.

Is there anyway when parsing an input stream to tell the parser which directory it should be looking for, to find the correct path to the dtd. The parsing works fine with the same document when using a URI, its just when parsing the LSInput.

Any ideas ?

Adam



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to