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=6128>. 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=6128 Xerces 1.4.4 cannot find DTD ------- Additional Comments From [EMAIL PROTECTED] 2002-01-30 15:26 ------- This appears to be the classic "missing BaseURI" problem. Since you are asking the parser to read input from a character stream (StringReader) there is no "context" for the parser to know where to find the "relative URI" that is specified for the DTD, i.e. "bookgram.dtd". If you set a base URI for the document using InputSource#setSystemId() then the parser will know where to start looking for the DTD. Otherwise, the parser tries to guess and looks at the directory that System.getProperty("user.dir") returns. Not very robust and is probably why this problem appears for some people and disappears for others. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
