W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2003

Problem with http://www.w3.org/TR/xhtml-modularization/DTD/xhtml- special.ent

From: Houghton,Andrew <houghtoa@oclc.org>
Date: Wed, 19 Nov 2003 09:33:47 -0500
Message-ID: <90D12689EF7A0543AB11426D75D6ABC50BFF88D4@oa4-server.oa.oclc.org>
To: "'www-html-editor@w3.org'" <www-html-editor@w3.org>

This file has two errors that prevent validation of your XML when importing
the definitions.  The problem is with the definition for "lt" and "amp":

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

These definitions will cause errors because "lt" will evaluate to "&<" when
expanded and "amp" will evaluate to "&&" when expanded.

I believe that these definitions should be:

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


Andrew Houghton, Software Engineer
OCLC Online Computer Library Center
Office of Research, MC 710
6565 Frantz Road
Dublin, Ohio 43017-3395
United States

Email:  houghtoa@oclc.org
Received on Wednesday, 19 November 2003 09:35:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:53 UTC