[jdom-interest] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> error?

Jason Long jason at jmlie.com
Fri Nov 16 14:38:06 PST 2001


I am writing an application that makes use of JTidy and JDOM.  I use JTidy
to grab a page and convert it to DOM and then
convert DOM to JDOM.  There is no error throw by JTidy.  I get an error with
both the DOMBuilder and SAXBuilder due to the following PI found.

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">

What is the best way to deal with this?

Jason Long
JML Internet Enterprises - www.jmlie.com
BS Physics, MS Chemical Engineering




More information about the jdom-interest mailing list