W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > February 2009

p:xquery - empty context item

From: <Toman_Vojtech@emc.com>
Date: Thu, 26 Feb 2009 12:12:08 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870EADDE71@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>
Hi all,

Currently we say this about p:xquery:

"If a sequence of documents is provided on the source port, the first
document is assumed to be the initial context item. This sequence is
also the default collection."

So, what happens if the sequence of documents is empty? I think that in
XQuery, the context item can be empty, so we should probably cover this
case and say that if the sequence of documents is empty, the context
item will be empty.

Received on Thursday, 26 February 2009 17:13:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:26 UTC