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 18333 - [XSLT 3.0] current grouping key with group-starting-with
Summary: [XSLT 3.0] current grouping key with group-starting-with
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-19 15:10 UTC by Michael Kay
Modified: 2013-02-13 23:06 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2012-07-19 15:10:07 UTC
The spec isn't 100% clear what happens if an <xsl:for-each-group group-starting-with> instruction is executed during the execution of an <xsl:for-each-group group-by> instruction. Is the current grouping key set to "absent", or is it left unchanged (reflecting the grouping key for the outer grouping instruction?

I think the intent is that it is set to "absent" and we should clarify the text accordingly.

Also affects 2.0.
Comment 1 Michael Kay 2012-07-19 15:27:02 UTC
Test case group047 added.
Comment 2 Michael Kay 2013-02-11 16:05:13 UTC
Agreed that the inner for-each-group should set the value to "absent".
Comment 3 Michael Kay 2013-02-13 23:06:20 UTC
The requested clarification is already present in the 1 Feb 2013 draft.