<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26680</bug_id>
          
          <creation_ts>2014-08-27 15:56:39 +0000</creation_ts>
          <short_desc>[XSLT30] Text on merge-key references grouping key, plus an omission</short_desc>
          <delta_ts>2014-09-04 21:15:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 3.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110661</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-08-27 15:56:39 +0000</bug_when>
    <thetext>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:
&quot;While an xsl:merge instruction is being evaluated, the current grouping key will be[...]&quot;

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

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

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

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

- Current 5th para under 15.6.1, fn:current-merge-group:
&quot;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.&quot;

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:

&quot;All invocation constructs set the value of the current merge group to absent.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111034</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-09-04 21:14:24 +0000</bug_when>
    <thetext>The WG agreed with these changes, including the last one described as non-editorial. The changes have been made to the spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>