- From: yzzzzz <yzzzzz@netcourrier.com>
- Date: Thu, 02 Jan 2003 20:29:15 +0100
- To: www-html-editor@w3.org
There are two files called DTD/xhtml-special.ent XHTML 1.0 <http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent> XHTML 1.1 <http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-special.ent> The XHTML 1.0 file uses the correct syntax: <!ENTITY amp "&#38;"> <!ENTITY lt "&#60;"> U+0026 the the code for the ampersand '&', so &#60; will be replaced by < which is correct (U+003C is the code for '<'.) The XHTML 1.1 file uses the wrong syntax: <!ENTITY lt "&<" > <!ENTITY amp "&&" > If you don't agree, just try validating *any* XHTML 1.0 file (with the doctype at the top) using a *real* XML validator (i.e. not validator.w3.org) and it'll be valid. On the other hand, it is impossible to validate an XHTML 1.1 file because of this error.
Received on Thursday, 2 January 2003 15:28:43 UTC