<?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>22017</bug_id>
          
          <creation_ts>2013-05-13 09:43:23 +0000</creation_ts>
          <short_desc>[XSLT 3.0] Examples: Using xsl:stream with aggregate functions</short_desc>
          <delta_ts>2014-05-15 14:00:23 +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>Candidate Recommendation</version>
          <rep_platform>PC</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="Michael Kay">mike</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>87588</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-05-13 09:43:23 +0000</bug_when>
    <thetext>The first example box in 19.1.1 needs attention.

It is preceded by the sentence: &quot;These examples no longer work; it is no longer possible to compute an aggregate over descendant values using a path expression. Instead, traversal using templates is required.&quot;. This sentence should be deleted; the problems with the examples were fixed before publication.

However, the two examples in the first example box were originally intended to use count() and max(), and they have been changed to use xsl:iterate because they didn&apos;t work as originally written. I believe our streamability rules now allow them to be written as originally intended using count() and max().

[Thanks to David Rudel for pointing this out].</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88132</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-05-23 17:21:06 +0000</bug_when>
    <thetext>Reclassified as editorial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91897</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-08-12 13:51:25 +0000</bug_when>
    <thetext>The two examples have been rewritten to use count() and max(), and an analysis has been added to the examples to show why they are streamable.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>