W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2003

RE: ORA-FO-AGGREGATE 15.3 Aggregate Functions

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 30 Jun 2003 19:03:10 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DCF83@daemsg02.software-ag.de>
To: Stephen Buxton <stephen.buxton@oracle.com>, public-qt-comments@w3.org
Both are correct. You can pass in a sequence of nodes; under the function
calling rules they will be atomized. The sequence must then consist of
values of a single type.
 
Michael Kay

-----Original Message-----
From: Stephen Buxton [mailto:stephen.buxton@oracle.com] 
Sent: 30 June 2003 15:33
To: public-qt-comments@w3.org
Subject: ORA-FO-AGGREGATE 15.3 Aggregate Functions 



Functions and Operators, Section 15.3 Aggregate Functions 


"Except
<Exceptforfn:count,thesequencemustconsistofvaluesofasingletypeoroneifitssubt
ypes,ortheymustbenumeric.> for fn:count, the sequence must consist of values
of a single type or one if its subtypes, or they must be numeric." 


But one example xquery in the xquery spec (4.10 Function Definitions) passes
in a sequence of nodes to sum() 


Which is correct: FandO or XQuery?
Received on Monday, 30 June 2003 13:03:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:48 UTC