W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

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

From: Michael Kay <mhk@mhk.me.uk>
Date: Mon, 16 Feb 2004 11:34:05 -0000
To: "'Michael Rys'" <mrys@microsoft.com>, <public-qt-comments@w3.org>
Message-ID: <000e01c3f480$c8d465e0$6401a8c0@pcukmka>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:32 GMT