W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: Parameter names for getElementsByTagName in DOM L3

From: Fred L. Drake, Jr. <fdrake@acm.org>
Date: Thu, 25 Oct 2001 11:57:20 -0400
Message-ID: <15320.13920.371024.61485@grendel.zope.com>
To: "Curt Arnold" <carnold@houston.rr.com>
Cc: <www-dom@w3.org>, <www-dom-ts@w3.org>

Curt Arnold writes:
 > Document.getElementsByTagName's parameter is named "tagname",
 > Element.getElementsByTagName's parameter is named "name".  Doesn't
 > matter in the big scheme of things but it does complicate
 > production of the test markup language.  If possible, could
 > parameter "name" be changed to "tagname" in DOM L3 Core.

  This is also something which matters for languages in which
parameters may be identifed by name at the call site:

    o = get_document_or_element(...)

While most users will use the positional syntax, this would typically
be expected to work in Python.


Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation
Received on Thursday, 25 October 2001 12:05:34 UTC

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