W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2005

Possible error in the "Modularization of XHTML" Specification

From: David Holmes <dholmes@cfdsoftware.net>
Date: Fri, 22 Jul 2005 14:31:26 +0200
Message-ID: <42E0E71E.2060903@cfdsoftware.net>
To: WWW HTML Editor <www-html-editor@w3.org>

Dear Sir or Madam,

It appears to me that an error might exist within the definition of the 
set of XHTML Special Characters, as provided with XHTML 1.1.

 From 
http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/dtd_module_defs.html#a_module_XHTML_Special_Characters 
onwards, the first and third entities defined (&lt; and &amp;) might 
well contain an ampersand character too many.

Indeed, "&#38;&#60;" is "&<" instead of "<" with the leading ampersand 
explicited ; identically, "&#38;&#38;" is "&&" instead of "&" with 
another explicit leading ampersand.

I believe that content should be "&#38;#60;" and "&#38;#38;" 
respectively. And so is it found in the set of Special Characters 
provided with XHTML 1.0.

Making that correction to the xhtml-special.ent document solved a 
problem of "invalid definition : &&" that I was encountering locally.

Sincerely,

David Holmes
CFD Software, SARL (France)
Received on Friday, 22 July 2005 14:38:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:55 GMT