Re: Errors in XHTML's Character Entities!

* 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 UTC