If you don't validate the html, try set these two features to false, so Xerces will not try to load any DTDs.
http://apache.org/xml/features/nonvalidating/load-dtd-grammar http://apache.org/xml/features/nonvalidating/load-external-dtd Benson. -----Original Message----- From: David M. Hirst [mailto:[EMAIL PROTECTED] Sent: Monday, April 15, 2002 2:08 PM To: [EMAIL PROTECTED] Subject: validating html Hi, I'm using the parser to parse html as well as xml documents. When I read in an html file, the parser is generating the following error on me: java.io.FileNotFoundException, and the file that it is trying to open is http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-strict.dtd. I've checked the w3c site, and this file does not exist at that location. I tried turning validation off on the parser using the setFeature method, but that did not solve any problems. I could really use some help on this one. I'm running close to a deadline. Thanks in advance --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
