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 

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

Ray Whitmer
Received on Wednesday, 11 December 2002 04:32:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:50 UTC