- From: David Carlisle <davidc@nag.co.uk>
- Date: Sun, 10 Nov 2013 18:00:27 +0000
- To: www-math@w3.org
- CC: dartonw@gmail.com
On 09/11/2013 19:23, Darton Williams wrote: > I recently used the combined entities at > http://www.w3.org/2003/entities/2007/w3centities-f.ent as an inline DTD > in MS SQL Server (this automatically resolves entities to their > character codes) and noticed a couple of issues: > > 1. <!ENTITY amp "&#38;" ><!--AMPERSAND --> > The value should be "&" > > 2. <!ENTITY lt "&#60;" ><!--LESS-THAN SIGN --> > The value should be "<" > > The values above were tested and produced the correct characters when > rendered in a browser as HTML. The uppercase variants of these entities > also contain incorrect values. > > 3. <!ENTITY nvlt "&#x0003C;⃒" ><!--LESS-THAN SIGN with > vertical line --> > AFAIK, the value should be "<⃒" but I just noticed this > one and haven't tested. > > Regards, No, you need to quote & and <. an entity with definition "&" would not be well formed. See the definition of amp here: http://www.w3.org/TR/xml/#sec-predefined-ent David
Received on Sunday, 10 November 2013 18:00:54 UTC