[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:14:13 UTC