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

philip.nelson at omniresources.com philip.nelson at omniresources.com
Sat Nov 17 05:59:07 PST 2001


You don't actually say what the error is?!  

> -----Original Message-----
> From: Jason Long [mailto:jason at jmlie.com] 
> Sent: Saturday, November 17, 2001 3:15 AM
> To: JDOM
> Subject: RE: [jdom-interest] <!DOCTYPE html PUBLIC 
> "-//W3C//DTD XHTML Basic 1.0//EN" 
> "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> error?
> 
> 
> 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

_______________________________________________
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