W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

Why AttributeList?

From: Claude Zervas <claude@utlco.com>
Date: Mon, 01 Jun 1998 22:51:36 -0700
Message-Id: <3.0.3.32.19980601225136.00927540@mail.blarg.net>
To: www-dom@w3.org
Hello,

I noticed that AttributeList is only referenced in the Document
interface as a return value for the factory method
Document.createAttributeList().
Nowhere else in the DOM is it used or referenced.

Since Element.getAttributes() returns a NodeIterator
can't AttributeList and Document.createAttributeList()
be deprecated?
IMHO DOM users (and implementors) can always create their
own collection of Attributes if they need to since it isn't
used at all by the DOM.

Is this another legacy thing or is it a placeholder for
a future interface rev?

Its no problem implementing these things but it just seems
like the simpler the better...

Thanks,
Claude Zervas
Received on Tuesday, 2 June 1998 01:44:38 GMT

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