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 26680 - [XSLT30] Text on merge-key references grouping key, plus an omission
Summary: [XSLT30] Text on merge-key references grouping key, plus an omission
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: 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: 2014-08-27 15:56 UTC by Abel Braaksma
Modified: 2014-09-04 21:15 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2014-08-27 15:56:39 UTC
Editorial.

In all following sections, the word grouping should be replaced with merge (key).

- Current 4th para under 15.6.2 fn:current-merge-key:
"While an xsl:merge instruction is being evaluated, the current grouping key will be[...]"

- Current 6th (last) para under 15.6.2 fn:current-merge-key, first sentence:
"The grouping keys of all items in a group are not [...]"

- Same, last sentence:
"[...]The current-grouping-key function returns the grouping key of the initial item in the group,[...]"

- Under 15.6.2 error definitions:
"[ERR XTDE3510] It is a dynamic error if the current-merge-key function is used when the current grouping key is absent[...]"

In the following, replace current group with current merge group.

- Current 5th para under 15.6.1, fn:current-merge-group:
"Duplicates are not eliminated: for example, if the same node is selected in more than one input sequence, it may appear twice in the current group."

Other notes:
(potentially not just editorial)

- Under 15.6.2. a sentence like the following, which is present for fn:current-merge-group, is not present for fn:current-merge-key. This seems either an inconsistency, or simply an omission:

"All invocation constructs set the value of the current merge group to absent."
Comment 1 Michael Kay 2014-09-04 21:14:24 UTC
The WG agreed with these changes, including the last one described as non-editorial. The changes have been made to the spec.