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.

Satoshi ISHIKAWA / webmaster@satoshii.org
Received on Wednesday, 14 January 2004 02:56:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:07 UTC