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: Wed, 20 Apr 2005 16:31:52 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DOI7E-0008QD-Tq@wiggum.w3.org>

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





------- Additional Comments From chamberl@almaden.ibm.com  2005-04-20 16:31 -------
Type-conversion of function arguments is governed by the expected type of the 
argument (that is, the type that was declared for the argument in the function 
signature). If the expected type is an atomic type, then atomization is 
performed when the function is called. If the expected type is a complex type, 
then no atomization is performed. Therefore, when a document node is passed to 
a function, it may or may not be atomized, depending on how the argument was 
declared in the function signature. These rules are explained in XQuery Section 
3.1.5, "Function Calls".

Henry, will you please let us know whether this explanation resolves your issue?
Received on Wednesday, 20 April 2005 16:31:54 GMT

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