W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

[Bug 1250] [XQuery] the typed value of a document node

From: <bugzilla@wiggum.w3.org>
Date: Thu, 14 Apr 2005 19:55:39 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DMAR9-0005eF-7B@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1250





------- Additional Comments From henryluo@vibrasoft.net  2005-04-14 19:55 -------
However, your answer has lead to another issue: 
 
Does the two XQuery expressions
 
fn:doc($uri as xs:string?) as document-node()?
document { expr }
 
return the same type of document node? 
If yes, then they should have same typed-value. 
If fn:doc returns a node tree, then should document { expr } also be typed as 
node tree?
 
And keeping document { expr } as node tree instead of string, 
has the benefit to enable the result document to be assigned to an variable,
and further processed by XQuery expressions like fn:doc.
Received on Thursday, 14 April 2005 19:55:40 GMT

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