- 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>
* Charles Liu wrote:
>Hello Editors:
>There are a few errors in XHTML's Character Entities!
>
><!ENTITY amp "&#38;"> <!-- ampersand, U+0026 ISOnum -->
><!ENTITY lt "&#60;"> <!-- less-than sign, U+003C ISOnum -->
>in XHTML 1.0
>
><!ENTITY lt "&<" ><!-- less-than sign, U+003C ISOnum -->
><!ENTITY amp "&&" ><!-- ampersand, U+0026 ISOnum -->
>in XHTML modularization
>
>They should be compliant to HTML 4.01
><!ENTITY amp CDATA "&" -- ampersand, U+0026 ISOnum -->
><!ENTITY lt CDATA "<" -- 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