Re: Bug in w3centities-f.ent

Thanks for the comment (and this is the right place for comments) however
this is not an error.


  <!ENTITY amp              "&#38;#38;" ><!--AMPERSAND -->
  <!ENTITY lt               "&#38;#60;" ><!--LESS-THAN SIGN -->
  <!ENTITY nvlt             "&#38;#x0003C;&#x020D2;" ><!--LESS-THAN SIGN with vertical line -->

as opposed to:

  <!ENTITY amp              "&#x00026;" ><!--AMPERSAND -->
  <!ENTITY lt               "&#x0003C;" ><!--LESS-THAN SIGN -->
  <!ENTITY nvlt             "&#x0003C;&#x020D2;" ><!--LESS-THAN SIGN with vertical line -->


The suggested defintions would not be well formed, see

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

The replacement text of an entity may not include a & or a <  that is
not the start of a reference or tag, respectively, numeric character
references are included as the entity is defined so your suggested
definition would leave the replacement text for the entity amp being &
which is not well formed. The definition used makes the replacement text
for amp the string  &#38; which is well formed.

David




________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Received on Wednesday, 29 July 2009 00:09:13 UTC