W3C home > Mailing lists > Public > www-html@w3.org > June 1999

Re: XHTML: errors in "HTMLspecialx.ent"

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Tue, 1 Jun 1999 08:57:11 -0400 (EDT)
Message-Id: <199906011257.IAA12948@login4.fas.harvard.edu>
To: GignacDA@nswccd.navy.mil, www-html@w3.org
On Fri, 28 May 1999 10:25:05 -0400 (EDT), GignacDA@nswccd.navy.mil
wrote:
> 
> Accordingly, these entities must be redefined as
> 
> <!ENTITY amp    "&#38;&#38;" > <!--  ampersand, U+0026 ISOnum -->
> 
> <!ENTITY lt      "&#38;&#60;"> <!--  less-than sign, U+003C ISOnum --> 

I think it [1] should say

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

as noted in section 4.6 of the XML recommendation [2].  The difference
is the removal of the second ampersand, since the replacement text
should be &#38; and &#60, not && and &<.  However, I agree that it's
currently wrong.

David

[1] http://www.w3.org/TR/xhtml1/DTD/HTMLspecialx.ent
[2] http://www.w3.org/TR/REC-xml#sec-predefined-ent

L. David Baron      Freshman, Harvard      dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.  < http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                   < http://www.webstandards.org/css/ >
Received on Tuesday, 1 June 1999 08:57:13 GMT

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