Re: Problems tidying HTML with Jtidy on the fly..

* Roberto Bertuol wrote:
>  I am tidying an HTML page with JTidy and converting it
>into XML.  However, when I open the page in MS IE I get
>the following error message:
>
>  <<Reference to undefined entity 'nbsp'. Line 36, Position 6 
>
>  I eventually need to extract data from the XML file.   
>
>Any suggestion on how to go about with it?

Seems like JTidy did not output a document type declaration but used
named character references in the document. You need either get JTidy
to output a document type declaration or use numeric character
referneces.

Received on Friday, 11 October 2002 22:05:06 UTC