This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9758 - Group By Clause: Equivalence: GroupingSpec
Summary: Group By Clause: Equivalence: GroupingSpec
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 07:05 UTC by Michael Dyck
Modified: 2010-06-22 18:05 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Dyck 2010-05-18 07:05:59 UTC
[Reiterates part of point #2 from http://lists.w3.org/Archives/Member/w3c-xsl-query/2009Nov/0075.html (Members only)]

Re the definition of "equivalence of two atomic values"...

In a definition whose "parameters" appear to be merely two values, it's odd to have one of the rules suddenly talk about a GroupingSpec. And while it could maybe slide by if 'equivalence' were only used for 'group by', it's now used by Switch too, so talk of GroupingSpec makes no sense.

I tried to find a solution involving just changes of wording, but it was ugly. (The problem is that a GroupingSpec might or might not specify a collation, and a Switch never specifies a collation.) So I think we should turn equivalence into an actual pseudo-function, with a third parameter, C, which is an optional collation.
Comment 1 Michael Kay 2010-06-02 22:30:10 UTC
Note that the proposal for resolution of bug #9757 deletes the definition of "equivalence of two atomic values", which would solve this bug at the same time.
Comment 2 Jonathan Robie 2010-06-22 16:47:12 UTC
This was resolved as a side effect of our resolution of bug #9757.
Comment 3 Michael Dyck 2010-06-22 18:05:17 UTC
Agreed.