Re: References in XPath that can be representedbyastringandstill can be garbage collected

John Snelson <[email protected]> Mon, 22 Dec 2008 14:48:08 +0000
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Vladimir Nesterovsky wrote:
>>> > rules for the order of evaluation of expressions - all expressions.
>>>
>>> Not all expressions.
>>> The rules are the same as for expressions deriving their
>>> values from node identity.
>>
>> I don't think so. For node identity, there is no issue with order of
>> evaluation, the only constraint is some strictness about evaluating an
>> expression the right number of times.
> 
> I think these are very close issues:
> 
> for
>  $i in (1 to 10),
>  $v in f:function-depending-on-node-id()
> return
>  ($i, $v)

Most probably function-depending-on-node-id() will be non-deterministic, 
according to XQuery semantics. I don't think we want to start saying 
specifying a resource manager with non-deterministic behaviour.

John

-- 
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net