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

Entity declarations in DOCTYPE section

From: Anderson Santana de Oliveira <anderson.Santana-De-Oliveira@loria.fr>
Date: Wed, 06 Apr 2005 16:26:31 +0200
Message-ID: <4253F197.7050901@loria.fr>
To: www-validator@w3.org

Hi all,

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"> ]>

nor the references in the body of the document, as  follows:

<small>Just using the internal entity I declared &foo;</small>

Best regards,

Anderson SANTANA
Received on Wednesday, 6 April 2005 16:56:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:18 GMT