Re: XQuery WG comments on XProc specification

fgeorges@gmail.com wrote on 07/02/2008 05:04:48 PM:

> > The result of the XQuery is used to generate the sequence of
> > documents that is returned by this step. Each document node and
> > element node in result sequence of the XQuery generates a document
> > in the result sequence. It is a dynamic error (err:XC0057) if the
> > sequence that results from an XQuery contains items other than
> > document nodes and element nodes.
> 
> > The base URI of each of the output documents is the base URI of the
> > first document in the source port's sequence.
> 
>   I don't understand the last sentence.  XDM defines the property
> 'base-uri' for each seven kinds of node.  Why don't use it directly?
> 

I copied the last sentence from XProc 7.2.9 without giving it any thought. 
Perhaps that sentence was meant to indicate that the base URI of the 
source document should be used as the initial value of the Base URI 
property of the static context.

Received on Tuesday, 8 July 2008 19:45:01 UTC