Re: Character Entities in XHTML 1.0

Alexander Savenkov <w3@hotbox.ru> wrote:

> I think I found a typo in XHTML 1.0 symbol character entities [1]. The
> typo is not corrected in XHTML 1.0 SE.

Because it is not a typo.

> Here you are:
> 
> Line 27: <!ENTITY amp     "&#38;#38;"> <!--  ampersand, U+0026 ISOnum -->
> Line 28: <!ENTITY lt      "&#38;#60;"> <!--  less-than sign, U+003C ISOnum -->
> 
> How come there's an additional "#38;" just after the quotes?

See "4.6 Predefined Entities" [2] of XML 1.0.

> Links:
> [1] http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml-special.ent

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

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Tuesday, 26 March 2002 23:08:25 UTC