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
news:3F64ADDC.F36452BA@Rhul.Ac.Uk...
> 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.

Jim.
Received on Sunday, 14 September 2003 14:11:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:09 GMT