W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2002

Incorrect entity declarations

From: Richard Tobin <richard@cogsci.ed.ac.uk>
Date: Fri, 1 Feb 2002 17:24:51 GMT
Message-Id: <200202011724.RAA12488@mcpherson.cogsci.ed.ac.uk>
To: www-html-editor@w3.org
The declarations for the predefined entities lt and amp in
xhtml-special.ent are wrong.  They are:

 <!ENTITY lt      "&#38;&#60;" ><!-- less-than sign, U+003C ISOnum -->
 <!ENTITY amp     "&#38;&#38;" ><!-- ampersand, U+0026 ISOnum -->

In each case there is a spurious ampersand.  The correct definitions
from the XML spec are:

 <!ENTITY lt     "&#38;#60;">
 <!ENTITY amp    "&#38;#38;">

-- Richard
Received on Friday, 1 February 2002 12:24:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:43 UTC