p:xquery - empty context item

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.

Regards,
Vojtech

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