[closed] Re: p:xquery - empty context item

Toman_Vojtech@emc.com writes:
> 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.

That was the intent. I've updated the draft (for both XQuery and XSLT) to
be more explicit.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Why shouldn't things be largely absurd,
http://nwalsh.com/            | futile, and transitory? They are so,
                              | and we are so, and they and we go very
                              | well together.-- Santayana

Received on Thursday, 9 April 2009 14:55:09 UTC