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

Re: XHTML/XML comment

From: Arjun Ray <aray@q2.net>
Date: Mon, 31 Jan 2000 14:06:46 -0500 (EST)
To: www-html@w3.org
Message-ID: <Pine.LNX.4.10.10001311353560.15214-100000@mail.q2.net>


On Mon, 31 Jan 2000, Frank Boumphrey wrote:

> XML unlike SGML is case sensitive. 

This is a mischaracterization.  In SGML, some names are folded to
uppercase.  Such case *substitution* is an option, enabled by default
in most systems.  The NAMECASE parameter in the SGML declaration
controls this for two classes of names; normally, case substitution is
disabled for names of entities, and enabled for all the rest.

The existence of this option is also the reason why the set of name
characters can be specified in two different ways: using the sets
NAMESTRT and NAMECHAR, or the sets LCNMSTRT, UCNMSTRT, LCNMCHAR and
UCNMCHAR.  The gotcha with the second way is that corresponding LC_
and UC_ classes have to be equal in size - for case *substitution*, of
course:)


Arjun
Received on Monday, 31 January 2000 13:54:16 GMT

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