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

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

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Fri, 21 Nov 2003 10:23:35 -0500
To: <public-qt-comments@w3.org>
Message-Id: <20031121152345.1C7F01376B@dr-nick.w3.org>

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 10:23:47 GMT

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