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

RE: F&O When would the sum function return the empty sequence?

From: Paul Cotton <pcotton@microsoft.com>
Date: Tue, 13 May 2003 12:54:38 -0400
Message-ID: <E7AC4500EAB7A442ABA7521D1881439706324DAA@tor-msg-01.northamerica.corp.microsoft.com>
To: "Priscilla Walmsley" <priscilla@walmsley.com>
Cc: <public-qt-comments@w3.org>

You are correct.  The signature of fn:sum() should NOT have a "?" on its
return type e.g. the return type should be xdt:anyAtomicType.

/paulc
Chair, XML Query WG

Paul Cotton, Microsoft Canada 
17 Eleanor Drive, Nepean, Ontario K2E 6A3 
Tel: (613) 225-5445 Fax: (425) 936-7329 
mailto:pcotton@microsoft.com

  

> -----Original Message-----
> From: public-qt-comments-request@w3.org [mailto:public-qt-comments-
> request@w3.org] On Behalf Of Priscilla Walmsley
> Sent: May 10, 2003 7:28 AM
> To: public-qt-comments@w3.org
> Subject: F&O When would the sum function return the empty sequence?
> 
> 
> The signature for the sum function now says that it can return the
empty
> sequence.  However, it is unclear when this would ever happen.  If it
is
> passed the empty sequence, it returns 0, not the empty sequence.
> 
> Thanks,
> Priscilla
Received on Tuesday, 13 May 2003 12:54:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:24 GMT