W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2004

[F&O] IBM-FO-040: Bugs in max and min examples

From: Don Chamberlin <chamberl@almaden.ibm.com>
Date: Thu, 4 Mar 2004 05:59:04 -0800
To: public-qt-comments@w3.org
Message-ID: <OFD4D681AD.0DC58BE7-ON88256E4D.00399569-88256E4D.004CCD1F@us.ibm.com>
(IBM-FO-040): Sections 15.3.3 (fn:max) and 15.3.4 (fn:min): In both of 
these sections, all the examples except the first one are syntactically 
invalid because they pass many arguments to a function that accepts only 
one argument. This needs to be fixed by enclosing the argument sequence in 
parentheses. Also, in each of these sections, the fifth bulletted example 
is missing a right-parenthesis at the end of the function parameters. 
Also, the third bulletted example in each section claims it can return 
either an integer or a double. But the text says that all numeric values 
are promoted to a "single common type", implying that (for example) max(5, 
5.0e0) will always be of type xs:double.

--Don Chamberlin
Received on Thursday, 4 March 2004 08:59:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:18 UTC