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

[Bug 15728] [XQ30] Scope of variables defined in group-by

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Feb 2012 14:54:15 +0000
To: public-qt-comments@w3.org
Message-Id: <E1S2kv1-0003yd-9V@jessica.w3.org>

Jonathan Robie <jonathan.robie@gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Jonathan Robie <jonathan.robie@gmail.com> 2012-02-29 14:54:13 UTC ---
In yesterday's telcon, we agreed that:

1. This sentence does not apply to Group By:

<quote>The scope of a bound variable includes all subexpressions of the
containing FLWOR that appear after the variable binding.</quote>

Grouping variables, like Windowing variables, have their own rules.

2. All bindings in group by expressions are computed before the group by clause
is evaluated and are based on pre-grouping tuples.

3. Variables bound in one grouping spec in a group by clause can be used in
other grouping specs, but these variables are also based on pre-grouping

4. Pre-grouping values are not implicitly atomized, post-grouping values are
implicitly atomized.

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 Wednesday, 29 February 2012 14:54:23 UTC

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