RE: [XQuery] MS-XQ-LC1-087

For information, this proposal would bring XQuery into line with XSLT.

Michael Kay

> -----Original Message-----
> From: public-qt-comments-request@w3.org 
> [mailto:public-qt-comments-request@w3.org] On Behalf Of Michael Rys
> Sent: 16 February 2004 11:14
> To: public-qt-comments@w3.org
> Subject: [XQuery] MS-XQ-LC1-087
> 
> 
> 
> Sections 3.7.1.3/3.7.3.3		
> Technical	
> 
> "If the content sequence contains a document node, a type error is
> raised.[err:XQ0023]": There are several use cases where 
> people want to put a wrapper around a document (see SQL-2003 
> SQL/XML and others) and just want to write 
> <a>{fn:doc(...)}</a>. We thus propose, that we allow this 
> scenario by automatically dropping the document node and 
> inserting copies of all the nodes under the document node 
> into the new element.
> 

Received on Monday, 16 February 2004 06:33:25 UTC