W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2011

[Bug 15044] [XQuery30] group by variables with associated expressions

From: <bugzilla@jessica.w3.org>
Date: Mon, 12 Dec 2011 00:43:12 +0000
To: public-qt-comments@w3.org
Message-Id: <E1RZtz6-0004cZ-2d@jessica.w3.org>

--- Comment #5 from Michael Dyck <jmdyck@ibiblio.org> 2011-12-12 00:43:11 UTC ---
(In reply to comment #4)
> How's this:
> The following clauses in FLWOR expressions bind values to variables: for, let,
> window, count, and group by. The binding of variables for for, let, and count
> is governed by the following rules (the binding of variables in window clauses
> is discussed in 3.10.4 Window Clause, the binding of variables in group by
> clauses is discussed in 3.10.7 Group By Clause):

That isn't enough to answer my questions. (see below)

> I think the governing principle here is this: 
> <quote>
> A given variable may be bound more than once in a FLWOR expression, or even
> within one clause of a FLWOR expression. In such a case, each new binding
> occludes the previous one, which becomes inaccessible in the remainder of the
> FLWOR expression.
> </quote>

That would be fine as a governing principle, but it doesn't yet apply to 'group
by' clauses. You have to change the preamble to make it apply.

Specifically, in the second sentence change:
    "for, let, and count"
    "for, let, count, and group by"

and delete "the binding of variables in group by clauses is discussed in 3.10.7
Group By Clause".

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 12 December 2011 00:45:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:37 UTC