- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Mon, 30 Jun 2003 19:03:10 +0200
- To: Stephen Buxton <stephen.buxton@oracle.com>, public-qt-comments@w3.org
Received on Monday, 30 June 2003 13:03:23 UTC
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