W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

Re: Custom DTD for case-insensitive ID values ?

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 15 Sep 2003 20:13:33 +0300 (EEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0309152000120.15094@korppi.cs.tut.fi>

On Mon, 15 Sep 2003, Philip TAYLOR [PC87S-O/XP] wrote:

> Slight problem, Jukka : IDs are no longer required to be unique.

Yes, that's exactly the way to allow ID values that differ in case only.
It removes the uniquess requirement.

> What I had wanted was that they should still be required to be
> unique, but that uniqueness should imply case-sensitivity (in this
> context, at least); is that possible, do you think ?

In a DTD, no. The case sensitivity rules are set in the SGML declaration
(in the naming rules), and I don't think there's a way to tell the W3C
validator use something different from the reference concrete syntax,
which has NAMECASE GENERAL YES, thereby making all names case insensitive.
And if you could change this, it would affect _all_ names.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 15 September 2003 13:13:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:38 UTC