W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

Re: HTML WG Last Call Remarks to DOM 2 HTML

From: Philippe Le Hegaret <plh@w3.org>
Date: 05 Feb 2002 19:02:07 -0500
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: WWW DOM <www-dom@w3.org>, HTML WG <w3c-html-wg@w3.org>
Message-Id: <1012953727.8824.77.camel@jfouffa>
Steven, in order to finish addressing the issues from the HTML
WG, we would like a clarification:

On Fri, 2002-01-18 at 10:59, Steven Pemberton wrote:
[[
Mixture of semantics: name and id. The 'name' attribute has zero
semantics in XHTML. So HTMLCollection.namedItem should only search for
id attributes in XHTML, and ignore 'name' attributes. For XHTML,
HTMLDocument.getElementsByName should only return form controls with
matching name.
]]

should it read
[[
Mixture of semantics: name and id. The 'name' attribute has zero
semantics in XHTML. So HTMLCollection.namedItem should only search for
id attributes in XHTML, and ignore 'name' attributes. For _HTML_,
HTMLDocument.getElementsByName should only return form controls with
matching name.
]]
or
[[
Mixture of semantics: name and id. The 'name' attribute has zero
semantics in XHTML. So HTMLCollection.namedItem should only search for
id attributes in XHTML, and ignore 'name' attributes. For XHTML, name
is only relevant in form controls, therefore
HTMLDocument.getElementsByName should only return form controls with
matching name.
]]

According to section 4.10 in http://www.w3.org/TR/xhtml1/#diffs ,
it doesn't seem that the attribute name is deprecated in forms control
too.

Otherwise, we are almost done with other issues. As an heads-up, you can
look at 
http://www.w3.org/2001/12/DOM-Level-2-issues
(I of course expect to send a complete to the HTML WG in any case)


Philippe
Received on Tuesday, 5 February 2002 19:02:10 GMT

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