- From: Ray Whitmer <rayw@netscape.com>
- Date: Thu, 19 Apr 2001 11:31:46 -0700
- To: www-dom@w3.org
To quote the entire requirement:
* The DOM XPATH interfaces SHOULD NOT return a "live" object, but
should return a list or iterator that will either reflect a
snapshot of the DOM tree at the moment the XPath query was
evaluated or will become invalidated if changes to the DOM tree
could affect its contents.
The object being referred to here is not the nodes, but rather the "list
or iterator". Perhaps the reference to a snapshot is misleading. I
believe that it is expected that nodes iterated or listed will be live,
but the iteration or list containing those nodes is not live.
Ray Whitmer
rayw@netscape.com
James Melton wrote:
> Regarding "4.6.3 Requirements... 5.The DOM XPATH interfaces SHOULD NOT
> return a "live" object..." Doesn't this make XPath useless for finding a
> location in the document that you want to update? This seems like a
> serious shortcoming.
>
> Jim.
>
> Philippe Le Hegaret wrote:
>
>> After a lot of discussions, here are the requirements for
>> XPath DOM:
>> http://www.w3.org/TR/2001/WD-DOM-Requirements-20010419/#level3-xpath
>
>
> ____________________________________________________________
> James Melton CyLogix
> 609.750.5190 609.750.5100
> james.melton@cylogix.com www.cylogix.com
>
Received on Thursday, 19 April 2001 14:24:25 UTC