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

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 UTC