W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: Comments on the use of exceptions...

From: <keshlam@us.ibm.com>
Date: Thu, 20 Aug 1998 16:57:07 -0400
To: www-dom@w3.org
Message-ID: <85256666.00720F0C.00@us.ibm.com>
>When looping over all child nodes, or all nodes returned by
>getElementsByTag name, we DO NOT want to force the user to call size()

It's getLength() now... I didn't bring this up because the question was
specifically about NamedNodeMap, where length will probably be easier to
calculate than the NodeList. But given that NodeList wants to be able to
avoid calling getLength(), it makes sense for NamedNodeMap to be consistant
with that design and permit the same coding style.

Further, deponent saith not.

______________________________________
Joe Kesselman  / IBM Research
Unless stated otherwise, all opinions are solely those of the author.
Received on Thursday, 20 August 1998 16:59:29 GMT

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