<?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>1763</bug_id>
          
          <creation_ts>2005-07-19 23:15:53 +0000</creation_ts>
          <short_desc>[FS] editorial: 7.2.10 The fn:min, fn:max, fn:avg, and fn:sum functions</short_desc>
          <delta_ts>2007-02-25 23:19:08 +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>Formal Semantics 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>All</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 Dyck">jmdyck</reporter>
          <assigned_to name="Jerome Simeon">simeon</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>4945</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-19 23:15:53 +0000</bug_when>
    <thetext>7.2.10 The fn:min, fn:max, fn:avg, and fn:sum functions

Introduction
&quot;The dynamic evaluation rules for aggregate functions&quot;
    No such thing. Perhaps s/evaluation rules/semantics/

STA / rule (1|2|3|4)
&quot;ItemType&quot;
    Change all occurrences of &quot;ItemType&quot; to &quot;FormalItemType&quot;.

STA / rule (1|2|3|4)
&quot;Type0 in { ... }&quot;
    I think the rule reads better if this premise is last.

STA / rule (1|2|3|4) / last two premises
&quot;statEnv |- ItemTypei can be promoted to Type0      1 &lt;= i &lt;= n&quot;
    I think you want *all* ItemTypes to be promotable to Type0, not just
    one. Change last line to
        statEnv |- ItemType1 can be promoted to Type0
        ...
        statEnv |- ItemTypen can be promoted to Type0

&quot;For fn:avg, the target type Type is either ...&quot;
&quot;For fn:sum, the target type Type is either ...&quot;
    s/Type/Type0/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8967</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-03-30 00:43:19 +0000</bug_when>
    <thetext>Fixed as suggested.
- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11615</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-09-12 07:37:58 +0000</bug_when>
    <thetext>You missed this one:

&quot;For fn:avg, the target type Type is either ...&quot;
    Change Type to Type0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13608</commentid>
    <comment_count>3</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2007-01-16 18:04:07 +0000</bug_when>
    <thetext>Fixed.
- Jerome
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14103</commentid>
    <comment_count>4</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2007-02-25 23:19:08 +0000</bug_when>
    <thetext>Closing bug because commenter has not objected to the resolution posted on 2007-01-16</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>