W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Re: Case-sensitive HTML 4.0 (was Re: More DOM grey areas ...)

From: John Cowan <cowan@locke.ccil.org>
Date: Thu, 15 Oct 1998 15:44:39 -0400
Message-ID: <362650A7.3CFF933A@locke.ccil.org>
To: DOM List <www-dom@w3.org>
Don Park wrote:

> I went back and 'scanned' the spec again and
> found nothing about case-sensitive names.  Aren't you perhaps refering to
> case-sensitive ATTRIBUTE VALUES and not case-sensitive NAMES?

Seemingly so.  Unfortunately, the HTML DOM documentation uses the
term "name" in the sense "value of the 'name' attribute" rather
than the sense employed in clause 3.2.1 of HTML 4.0.

For example, the getElementsByName method returns elements with
a given attribute value for the 'name' attribute, rather than
a given HTML name (= SGML general identifier, XML element type).

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Thursday, 15 October 1998 15:43:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT