W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

ORA-XQ-239-C: xdt:untypedAny or xs:anyType for element node evaluted from the enclosed expression

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 14:08:34
Message-Id: <200402162208.i1GM8Yb21358@rgmgw4.us.oracle.com>
To: public-qt-comments@w3.org
Cc:

SECTION 3.7.1.3: Content

In 3.7.1.3 Content, 1.d. section, it states that
element nodes are given the type annotation xs:anyType and attribute
nodes are given the type annotation xs:anySimpleType.
It would be more accurate to state that the element nodes are given the type annotation xdt:untypedAny and attribute nodes are given the
type annotation xdt:untypedAtomic. ( Please refer to Figure 2: Summary of XQuery Type Hierarchy.)
This is because in '3.13 Validate expression' and '3.7.1.5 Type of
a constructed element' section, if validate mode = skip, the spec
states that element node is given type of 'xdt:untypedAny' and
attribute node is given type of 'xdt:untypedAtomic', which appears 
to be more accurate based on 'Figure 2:Summary of XQuery Type Hierarchy'.
So it is better if we make them consistent. 

However, it seems 1.d. is irrelevant since step 6 performs the
same operation.


- Steve B.
Received on Monday, 16 February 2004 17:08:46 UTC

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