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 2414 - Editorial: fn:min, 15.4.4.1 Examples
Summary: Editorial: fn:min, 15.4.4.1 Examples
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: Other Linux
: 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-10-25 12:43 UTC by Frans Englich
Modified: 2006-09-18 10:44 UTC (History)
0 users

See Also:


Attachments

Description Frans Englich 2005-10-25 12:43:16 UTC
The fourth example in `5.4.4.1 Examples' appears to have a type. It reads: 
 
fn:min(xs:float(0.0E0), xs:float(-0.0E0) can return either positive or negative 
zero. 
 
I think it should be: 
 
fn:min((xs:float(0.0E0), xs:float(-0.0E0))) can return either positive or 
negative zero. 
 
That is, I think one pair of parentheses and one right parenthesis is missing. 
 
 
Cheers, 
Frans
Comment 1 Colin Adams 2005-10-25 17:05:34 UTC
It's just a right paenthesis that's missing.
Comment 2 Michael Kay 2005-10-25 18:46:56 UTC
I think Frans is right and Colin is wrong. You have to say min((1,2)) to get the
min of a literal sequence.

Michael Kay
Comment 3 Colin Adams 2005-10-26 05:15:51 UTC
Yes, I was mistaken.
Comment 4 Ashok Malhotra 2005-11-21 23:45:21 UTC
Appreciate the close reading!  Fixed!