W3C home > Mailing lists > Public > www-math@w3.org > July 2009

Re: Bug in w3centities-f.ent

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 29 Jul 2009 01:08:34 +0100
Message-Id: <200907290008.n6T08Yr5008143@edinburgh.nag.co.uk>
To: plareplane@gmail.com
Cc: www-math@w3.org

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


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.


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:41 UTC