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

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 UTC