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

Re: Intent of Element::getElementsByTagNameNS spec

From: <keshlam@us.ibm.com>
Date: Fri, 7 Apr 2000 08:45:08 -0400
To: www-dom@w3.org
Message-ID: <852568BA.00460671.00@D51MTA03.pok.ibm.com>
 The spec for the getElementsByTagNameNS method of  the Element interface
> strikes me as strange.  Particularly the part, "in a  preorder traversal
> of the Document tree starting from this node".  I would  have expected
> something more like the spec for getElementsByTagName, "in a  preorder
> traversal of the Element tree".  What is the intent of  including Nodes
> from outside the Element's subtree in the returned NodeList?

I'm sure that's just a typo. getElementsByTagNameNS is supported on both
Element and Document, and the text wasn't updated when it was copied from
one to the other.

Good catch!

Is there anything else that strikes you as strange? It's supposed to be a
simple adaptation of getElementsByTagName to the namespaces world...


______________________________________
Joe Kesselman  / IBM Research
Received on Friday, 7 April 2000 08:45:24 GMT

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