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

Resolution of DOM XPath LC issue diether3

From: Ray Whitmer <rayw@netscape.com>
Date: Wed, 11 Dec 2002 01:31:45 -0800
Message-ID: <3DF70601.1070908@netscape.com>
To: "www-dom@w3.org" <www-dom@w3.org>
CC: service@philo.de

DOM XPath module last call issue diether3 was about the use of 
XPathResultType in the XPATHExpression.evaluate function not allowing 
maximum optimization in many use cases.   The working group felt that 
the case given is wrong. As the specification says, if you request 
ANY_TYPE, you will only ever get back ANY_UNORDERED_ITERATOR_TYPE, which 
is the easiest to compute, and this is about the most efficient way to 
detect whether there are any results without getting them all. You have 
to explicitly request the other types to get them.

See the issues list for more information at 
http://www.w3.org/03/DOM-Level-3-XPath-issues/all.html#diether3

Please let us know if you are, or are not satisfied with this resolution.

Ray Whitmer
rayw@netscape.com
Received on Wednesday, 11 December 2002 04:32:18 GMT

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