[Bug 1463] New: Incorrect dependencies in fn:max and fn:min

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

           Summary: Incorrect dependencies in fn:max and fn:min
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: chamberl@almaden.ibm.com
         QAContact: public-qt-comments@w3.org


fn:max (Section 15.4.3) says that all the items to be compared must be 
convertible to a type that has a gt operator, but the actual definition of the 
function depends on ge, not gt. Similarly, fn:min (Section 15.4.4) says that 
the function depends on the lt operator, but the actual definition depends on 
le, not lt. Suggestion: state that items to be compared must have a ge (le) 
operator, not a gt (lt) operator.

Received on Tuesday, 17 May 2005 20:59:49 UTC