Re: [XQuery] lexical leftovers 7

This looks editorial, right? If so, it still lands on the list, but the 
editor is allowed to use discretion. You still get a response from the 
editor saying what was done with this feedback.

Jonathan

Michael Dyck wrote:

>XQuery 1.0: An XML Query Language
>W3C Working Draft 12 November 2003
>
>Here is a comment from
>http://lists.w3.org/Archives/Public/public-qt-comments/2002Dec/0019.html
>that did not receive a response from the WG.
>
>------
>
>A.4 Precedence Order
>
>"In the cases where a number of operators are a choice at the same
>production level, the expressions are always evaluated from left to
>right."
>
>    The phrase "a choice at the same production level" is vague.
>
>    And the order in which the *expressions* are evaluated is immaterial.
>    For example, in the AdditiveExpr A - B - C, the order in which you
>    evaluate A, B, and C doesn't matter (except in the presence of
>    dynamic errors); what matters (when you're defining precedence) is
>    the order in which you evaluate the subtractions.
>
>    Here's something that addresses these points, and comes closer to
>    using standard terminology:
>        When a production directly derives a sequence of expressions
>        separated by binary operators, the operators are evaluated from
>        left to right.
>
>    In any event, an example might help.
>
>-Michael Dyck
>
>  
>

Received on Monday, 16 February 2004 18:23:11 UTC