W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

[XQuery] lexical leftovers 7

From: Michael Dyck <jmdyck@ibiblio.org>
Date: Fri, 13 Feb 2004 18:25:00 -0800
To: public-qt-comments@w3.org
Message-id: <402D86FC.8D550BFB@ibiblio.org>

XQuery 1.0: An XML Query Language
W3C Working Draft 12 November 2003

Here is a comment from
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

    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 Friday, 13 February 2004 21:25:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:17 UTC