W3C home > Mailing lists > Public > www-html@w3.org > August 2001

Re: Errors in XHTML's Character Entities!

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 16 Aug 2001 21:35:54 +0200
To: "Charles Liu" <charles.liu@msa.hinet.net>
Cc: <www-html@w3.org>
Message-ID: <5dvnnt8gd1sjuh6rijqncj0dktsdaqjadh@4ax.com>
* Charles Liu wrote:
>Hello Editors:
>There are a few errors in XHTML's Character Entities!
>
><!ENTITY amp     "&#38;#38;"> <!--  ampersand, U+0026 ISOnum -->
><!ENTITY lt      "&#38;#60;"> <!--  less-than sign, U+003C ISOnum -->
>in XHTML 1.0
>
><!ENTITY lt      "&#38;&#60;" ><!-- less-than sign, U+003C ISOnum -->
><!ENTITY amp     "&#38;&#38;" ><!-- ampersand, U+0026 ISOnum -->
>in XHTML modularization
>
>They should be compliant to HTML 4.01
><!ENTITY amp     CDATA "&#38;"   -- ampersand, U+0026 ISOnum -->
><!ENTITY lt      CDATA "&#60;"   -- less-than sign, U+003C ISOnum -->

No, please read http://www.w3.org/TR/REC-xml-20001006#sec-predefined-ent
They must not be defined as in HTML 4.01.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Thursday, 16 August 2001 15:36:33 GMT

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