W3C home > Mailing lists > Public > www-html@w3.org > January 2004

Re: is HCRO case sensitive?

From: Satoshi ISHIKAWA <webmaster@satoshii.org>
Date: Wed, 14 Jan 2004 16:52:17 +0900
To: <www-html@w3.org>
Message-ID: <BC2B2441.1F74%webmaster@satoshii.org>

Kevin Rodgers <kevin.rodgers@ihs.com> wrote:

> Do these mean that only a lower case "x" is allowed after "&#" in a
> hexadecimal character reference open delimiter?

In SGML, case sensitivity of delimiters is defined through the
NAMECASE section of SGML declaration.

In SGML Annex L.2, NAMECASE is defined as "GENERAL NO".
And in HTML 4.01, NAMECASE is defined as "GENERAL YES".

So hcro (&#x) is case sensitive in XML, but not in HTML.
Both of &#x123; and &#X123; are valid in HTML,
but &#X123; is not well-formed in XML.


Regards,
-- 
Satoshi ISHIKAWA / webmaster@satoshii.org
http://www.satoshii.org/markup/
Received on Wednesday, 14 January 2004 02:56:33 GMT

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