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.
Test case group047 added.
Agreed that the inner for-each-group should set the value to "absent".
The requested clarification is already present in the 1 Feb 2013 draft.