<?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>3423</bug_id>
          
          <creation_ts>2006-07-04 12:14:03 +0000</creation_ts>
          <short_desc>[XSLT2.0] 14.3: reference target for &quot;that item&quot; in context description for &apos;group-by&apos; (editorial)</short_desc>
          <delta_ts>2006-08-16 18:39:02 +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 2.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christian Roth">roth</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>10359</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Roth">roth</who>
    <bug_when>2006-07-04 12:14:03 +0000</bug_when>
    <thetext>14.3 The xsl:for-each-group Element, after definition of &apos;grouping keys&apos;:

&quot;The expression contained in the group-by or group-adjacent attribute is evaluated with that item as the context item, with its position in population order as the context position, and with the size of the population as the context size.&quot;

As a non-native speaker, I&apos;m having difficulties determining what the &quot;that&quot; in &quot;...that item...&quot; references. I guess it will be the &quot;...each item in the population.&quot; of the preceding definition, but to me, it isn&apos;t absolutely clear.

Would the following re-formulation of the sentence be factually correct:

&quot;The expression contained in the group-by or group-adjacent attribute is evaluated for an item in the population with that item as the context item, with its position in population order as the context position, and with the size of the population as the context size.&quot;

?

-Christian</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11180</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-08-16 18:38:48 +0000</bug_when>
    <thetext>In fact the &quot;that item&quot; refers back to &quot;for each item in the population&quot; in the previous paragraph, but the text in between has  grown in length as a result of a clarification (sic) added in the latest draft. I think the solution is to re-establish context at the start of the new paragraph: change &quot;The expression contained in...&quot; to read &quot;When calculating the grouping keys for an item in the population, the expression contained in...&quot;

In the hope that this further clarification solves the problem, I am marking the bug fixed and closed. Please reopen it if you feel the urge.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>