W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

[Bug 2456] Changes to min() and max()

From: <bugzilla@wiggum.w3.org>
Date: Fri, 04 Nov 2005 16:35:50 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EY4Xe-0007y1-Ne@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2456

           Summary: Changes to min() and max()
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The spec for min() and max() changed between the April 2005 and Sept 2005
drafts, so that in the case where numeric promotion takes place, the
function now returns the value after promotion whereas it previously returned
the value before promotion.

For example, given max((5, 3e0)) the function is now supposed to return the
double 5e0, whereas it previously returned the integer 5.

I can't see any mention of this change in the change log, and I can't find a
Last Call Bugzilla entry against these functions. Did the WG actually make this
change deliberately?

Previously raised internally at

http://lists.w3.org/Archives/Member/w3c-xsl-query/2005Oct/0051.html
Received on Friday, 4 November 2005 16:35:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:42 GMT