[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
Sat Nov 17 01:15:27 PST 2001


It is the colon in the url that seems to be causing the problem.  The
DOCTYPE is from the orginal document take from the web, and it is left
unchanged by JTidy.  I would appreciate any assistance in resolving this
matter.

-----Original Message-----
From: jdom-interest-admin at jdom.org
[mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Long
Sent: Friday, November 16, 2001 4:38 PM
To: JDOM
Subject: [jdom-interest] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic
1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> error?


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

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list