XML validation error in xhtml-special.ent

Hello,

the double escaping is incorrect in
  xhtml-modularization-20010410/DTD/xhtml-special.ent

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

after the first reading the replacement text is:
"&<"
"&&"
what is wrong. (see XML Spec 1.0, 4.6 Predefined Entities)
A correct version:
<!ENTITY lt      "&#38;#60;"> <!--  less-than sign, U+003C ISOnum -->
<!ENTITY amp     "&#38;#38;"> <!--  ampersand, U+0026 ISOnum -->

as it can be found e.g. in
xhtml1-20020801/DTD/xhtml-special.ent

It is also confusing, why we have two variants of an entity
with the same public identifier.

I retrieved both entities from the "tgz' files.


Best regards

Miklos Taba

Received on Saturday, 24 August 2002 15:34:42 UTC