Re: XHTML: errors in "HTMLspecialx.ent"

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 UTC