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 1463 - Incorrect dependencies in fn:max and fn:min
Summary: Incorrect dependencies in fn:max and fn:min
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 19:50 UTC by Don Chamberlin
Modified: 2005-09-29 11:20 UTC (History)
0 users

See Also:


Attachments

Description Don Chamberlin 2005-05-17 19:50:58 UTC
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.
Comment 1 Ashok Malhotra 2005-05-19 12:49:20 UTC
Fixed!  Thanks!