W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2005

"Special characters for XHTML"

From: Matthew Wilson <Matthew.Wilson@YourMove.co.uk>
Date: Tue, 17 May 2005 11:10:50 +0100
Message-ID: <74CD901A3995C44DA81ECC7A9503A45009BF13@rssncl3xbe1.ead.co.uk>
To: <www-html-editor@w3.org>
Hi,

I'm not sure whether or not this is being sent to the correct e-mail address, but it was listed in the XHTML errata.

After looking through the character entity sets for XHTML I noticed the following lines in http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent ;

<!ENTITY quot    "&#34;"> <!--  quotation mark, U+0022 ISOnum -->
<!ENTITY amp     "&#38;#38;"> <!--  ampersand, U+0026 ISOnum -->
<!ENTITY lt      "&#38;#60;"> <!--  less-than sign, U+003C ISOnum -->
<!ENTITY gt      "&#62;"> <!--  greater-than sign, U+003E ISOnum -->

It occurred to me that the middle two lines should probably read;

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

As "&#38;#38;" and "&#38;#60;" are surely invalid character codes and hex 26 = decimal 38, likewise hex 3C = decimal 60- is this correct?

If this has been sent to the wrong e-mail address then I would appreciate it if you'd forward it to the appropriate dept./person.

Thanks,

Matt


This message and any attachment is confidential and may be privileged or otherwise protected
from disclosure and is intended solely for the addressees and other authorised to receive it.
If you are not the intended recipient please telephone or e-mail the sender and delete this 
message and any attachment from your system. If you are not the intended recipient any 
disclosure, copying, distribution or action taken in reliance on the contents of this e-mail 
or any attachments is prohibited. Any view or opinions presented are solely those of the 
author and do not necessarily represent those of YOUR MOVE.

YOUR MOVE is a trading name of: your-move.co.uk Limited which is authorised and regulated by 
the Financial Services Authority

(FRN:310467) for mortgage and non investment insurance advice. These details may be verified 
with the FSA at www.fsa.gov.uk/register

Registered Office address: Newcastle House, Albany Court, Newcastle Business Park, 
Newcastle Upon Tyne, NE4 7YB.

Registered Number: 01864469. VAT number: GB105437300.

You may also contact YOUR MOVE at enquiries@your-move.co.uk

This message has been scanned for viruses by BlackSpider MailControl
Received on Wednesday, 18 May 2005 07:53:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:54 GMT