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

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

From: <bugzilla@farnsworth.w3.org>
Date: Sat, 12 Apr 2008 14:39:01 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Jkgsf-0000oh-9C@farnsworth.w3.org>


------- Comment #1 from mike@saxonica.com  2008-04-12 14:39 -------
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.
Received on Saturday, 12 April 2008 14:39:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:22 UTC