W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 12 Oct 2002 04:05:09 +0200
To: "Roberto Bertuol" <roberto@bertuol.freeserve.co.uk>
Cc: <html-tidy@w3.org>
Message-ID: <3da77fcb.191538858@smtp.bjoern.hoehrmann.de>

* 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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC