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
Message-Id: <E1DMAR9-0005eF-7B@wiggum.w3.org>


------- 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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:23 UTC