Summary: Changes to min() and max()
Product: XPath / XQuery / XSLT
Version: Candidate Recommendation
OS/Version: Windows XP
Component: Functions and Operators
AssignedTo: [hidden email] ReportedBy: [hidden email] QAContact: [hidden email]
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