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

XHTML 1.1: errors in xhtml-special.ent, wrong definition of character entities

From: Joachim Wackerow <wackerow@zuma-mannheim.de>
Date: Fri, 18 Feb 2005 14:49:19 +0100
Message-ID: <4215F25F.7090200@zuma-mannheim.de>
To: www-html-editor@w3.org

Hello,

I would like to report errors in the file xhtml-special.ent of XHTML 1.1.

According to "Extensible Markup Language (XML) 1.0 (Third Edition), 4.6 
Predefined Entities"
http://www.w3.org/TR/2004/REC-xml-20040204/#sec-predefined-ent
the entities "amp" and "lt" should be defined in a special way.

Here is the diff output of xhtml-special.ent to a corrected version:
37c37
< <!ENTITY lt      "&#38;&#60;" ><!-- less-than sign, U+003C ISOnum -->
---
 > <!ENTITY lt      "&#38;#60;" ><!-- less-than sign, U+003C ISOnum -->
39c39
< <!ENTITY amp     "&#38;&#38;" ><!-- ampersand, U+0026 ISOnum -->
---
 > <!ENTITY amp     "&#38;#38;" ><!-- ampersand, U+0026 ISOnum -->

I observed this error with the program XML Spy (enterprise edition 2005 
sp2) trying to validate XHTML 1.1 documents.

Kind regards, Joachim Wackerow
Received on Saturday, 19 February 2005 05:06:29 GMT

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