W3C home > Mailing lists > Public > www-validator@w3.org > April 2005

Re: Entity declarations in DOCTYPE section

From: Olivier Thereaux <ot@w3.org>
Date: Thu, 7 Apr 2005 15:27:21 +0900
To: Anderson Santana de Oliveira <anderson.Santana-De-Oliveira@loria.fr>
Cc: www-validator@w3.org
Message-ID: <20050407062721.GA26335@w3.mag.keio.ac.jp>

Hello Anderson

On Wed, Apr 06, 2005, Anderson Santana de Oliveira wrote:
> The w3c validator does not complain about entity declarations in the 
> DOCTYPE section. Is it right for XHTML strict pages, or is it a bug? 
> Firefox, for example, does not understand either the declarations, like 
> the example below
> <!DOCTYPE  html   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
> [<!ENTITY foo  "bar"> ]>
  From a DTD standpoint, it's probably legal, but it's a behaviour
discouraged by HTML
[[ For reasons of interoperability, authors must not "extend" HTML through
the available SGML mechanisms (e.g., extending the DTD, adding a new set
of entity definitions, etc.).
 -- http://www.w3.org/TR/html4/appendix/notes.html#h-B.1 ]]

Received on Thursday, 7 April 2005 06:27:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:50 UTC