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

Re: Level 3 XPath doesn't feel right

From: Philippe Le Hegaret <plh@w3.org>
Date: 31 Oct 2002 10:35:08 -0500
To: Dominic Chambers <dominic.chambers@bigfoot.com>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1036078509.29533.68.camel@jfouffa>

On Tue, 2002-10-29 at 21:11, Dominic Chambers wrote:
> 2. The resolver, type, and attributes should be made optional for the ECMAScript binding,
>     since almost nobody will ever use them, and instead just pass nulls anyway.

As far as I know, ECMAScript (or ECMAScript implementations?) allows you
to ignore the remaining parameters, so
 document.evaluate("foo/bar", node, null, null, null)
is equivalent to:
 document.evaluate("foo/bar", node)

Received on Thursday, 31 October 2002 10:35:10 UTC

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