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

Re: XQuery WG comments on XProc specification

From: Andrew Eisenberg <andrew.eisenberg@us.ibm.com>
Date: Tue, 8 Jul 2008 15:43:48 -0400
To: "Florent Georges" <fgeorges@fgeorges.org>
Cc: fgeorges@gmail.com, public-xml-processing-model-comments@w3.org
Message-ID: <OF7CB91A8B.636ED2BF-ON85257480.006C1128-85257480.006C72AB@us.ibm.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 July 2008 19:45:02 GMT