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

Re: pb with entities FOUND IT

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 05 Dec 2002 03:04:37 +0100
To: Riccardo Cohen <rcohen@dial.oleane.com>
Cc: html-tidy@w3.org
Message-ID: <3e06aaef.26618775@smtp.bjoern.hoehrmann.de>

* Riccardo Cohen wrote:
>by the way, is this a bug in tidy, or is it normal
>that without doctype, &eacute; cant be generated ?

Entities are declared in the document type definition. If you do not
reference the DTD ("no doctype"), the entities are not declared and
thus SGML tools (and for XHTML, XML tools) will reject the document
due to references to undeclared entities. Tidy does not output named
character references (entity references) to avoid this situation, so,
yes, this is "normal".
Received on Wednesday, 4 December 2002 21:04:24 UTC

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