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 1763 - [FS] editorial: 7.2.10 The fn:min, fn:max, fn:avg, and fn:sum functions
Summary: [FS] editorial: 7.2.10 The fn:min, fn:max, fn:avg, and fn:sum functions
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Last Call drafts
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: Jerome Simeon
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 23:15 UTC by Michael Dyck
Modified: 2007-02-25 23:19 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2005-07-19 23:15:53 UTC
7.2.10 The fn:min, fn:max, fn:avg, and fn:sum functions

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

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

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

STA / rule (1|2|3|4) / last two premises
"statEnv |- ItemTypei can be promoted to Type0      1 <= i <= n"
    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

"For fn:avg, the target type Type is either ..."
"For fn:sum, the target type Type is either ..."
    s/Type/Type0/
Comment 1 Jerome Simeon 2006-03-30 00:43:19 UTC
Fixed as suggested.
- Jerome
Comment 2 Michael Dyck 2006-09-12 07:37:58 UTC
You missed this one:

"For fn:avg, the target type Type is either ..."
    Change Type to Type0.
Comment 3 Jerome Simeon 2007-01-16 18:04:07 UTC
Fixed.
- Jerome
Comment 4 Jim Melton 2007-02-25 23:19:08 UTC
Closing bug because commenter has not objected to the resolution posted on 2007-01-16