This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
While discussing bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=11352 during the discussion the following question was raised. What is the semantics in XQuery 3.0 of the following program: == declare %nondeterministic function read-line() as xs:string external; (read-line(), read-line(), read-line) == Are we guaranteed to read the lines in order, or not ? In other words, does XQuery 3.0 impose an order of execution of subexpressions ? I think determining the answer to this question is a pre-requisite to solving bug #11352.
In XQuery 3.0, 2.3.4 Errors and Optimization, we say: "An implementation is always free to evaluate the operands of an operator in any order."
This bug was resolved by the action taken in Bugzilla Bug #11352. As a result, I have marked it RESOLVED/FIXED. Because you were present for the discussion and agreed, I'm also marking it CLOSED.