- From: Ray Whitmer <rayw@netscape.com>
- Date: Wed, 11 Dec 2002 01:31:45 -0800
- 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 UTC