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

Re: [XQuery] allow E1 to be empty sequence in E1/E2

From: Don Chamberlin <chamberl@almaden.ibm.com>
Date: Fri, 21 Nov 2003 10:12:31 -0800
To: "Priscilla Walmsley" <priscilla@walmsley.com>
Cc: public-qt-comments@w3.org, w3c-query-editors@w3.org
Message-ID: <OFAE7EDFD0.E0663414-ON88256DE5.006379B5-88256DE5.0063804C@us.ibm.com>
Fixed. Thanks!
--Don





"Priscilla Walmsley" <priscilla@walmsley.com>
Sent by: public-qt-comments-request@w3.org
11/21/2003 07:23 AM
 
        To:     <public-qt-comments@w3.org>
        cc: 
        Subject:        [XQuery] allow E1 to be empty sequence in E1/E2



The XQuery language draft says:

"Each operation E1/E2 is evaluated as follows: Expression E1 is evaluated,
and if the result is not a sequence of nodes, a type error is
raised.[err:XP0019]"

Shouldn't E1 be allowed to be the empty sequence?  Can it be reworded 
"...if
the result is not a (possibly empty) sequence of nodes..."

Thanks,
Priscilla
Received on Friday, 21 November 2003 13:15:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:03 GMT