[Bug 5640] [XQuery] Typed value of a node

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


mukul_gandhi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #2 from mukul_gandhi@yahoo.com  2008-04-12 18:09 -------
(In reply to comment #1)
> If there is no schema or the schema defines x as having mixed content, then the
> typed value is "123" (with some surrounding whitespace unless you chose to
> remove it), as an instance of xs:untypedAtomic. If the schema defines x as
> having element-only content, then attempting to get the typed value throws an
> error. This is explained in bullet 4 of the section that you refer to, which
> itself is a summary of the rules given in the XDM data model specification.
> 

Thanks, Mike for the explanation. It helps me.

Regards,
Mukul

Received on Saturday, 12 April 2008 18:10:27 UTC