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

Re: Custom DTD for case-insensitive ID values ?

From: Jim Ley <jim@jibbering.com>
Date: Sun, 14 Sep 2003 18:11:14 -0000
To: www-validator@w3.org
Message-ID: <bk2b0v$7sr$1@sea.gmane.org>

"Philip TAYLOR [PC336/H-XP]" <P.Taylor@Rhul.Ac.Uk> wrote in message
> Well, the only access required to these IDs is for the "visibility"
> attribute of their associated DIVs to be toggled by JavaScript.
> Since JS /is/ case sensitive

but the name/id is not JS, so the case-sensitivity of the javascript is
irrelevant to the question in hand, if HTML says name="test" and name="Test"
are the same, then javascript DOM's are free to treat them the same, and you
will meet a browser that does.  I think it's unlikely that your script is
remotely robust, in fact as it seems likely from your other post that you're
using dreamweaver then experience has shown it's not at all robust.

Received on Sunday, 14 September 2003 14:11:45 UTC

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