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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC