W3C home > Mailing lists > Public > www-ql@w3.org > January to March 2007

FW: A quesiton on XPath-datamodel (Mapping PSVI addition to Node Properties)

From: Yu, Zhiqiang <zhiqiang.yu@intel.com>
Date: Sun, 21 Jan 2007 00:33:49 +0800
Message-ID: <094BCE01AFBE9646AF220B0B3F367AAB0131BF39@pdsmsx413.ccr.corp.intel.com>
To: <www-ql@w3.org>
I encountered some problem when reading the spec of XQuery 1.0 and XPath
2.0 Data Model (XDM).

http://www.w3.org/TR/xpath-datamodel/#PSVI2Types

In the Chapter 3.3.1 ( Mapping PSVI addition to Node Propterties), it
says:

*	The [validity] and [validation attempted] properties exist and
have the values "valid" and "full", respectively, the schema type of an
element or attribute information item is represented by an
expanded-QName
<http://www.w3.org/TR/xpath-datamodel/#dt-expanded-qname#dt-expanded-qna
me>  whose namespace and local name correspond to the first applicable
items in the following list:

	*	If the declared type exists and is a union and the
actual type is .....
	*	If there is no declared type, and the actual type is a
union, then: ......
	*	Otherwise: ......

 

Regarding the second bullet, I can NOT understand in which cases there
will be no declared type?  I think it is impossible. Since the declared
type reference the [type definition] associated with the declaration,
if an element/attribute is validated, it should be already associated
with a element/attribute declaration, which should have the type
definition. 

 

Does anyone know it and  give me some clarification on this?  Thanks a
lot in advance!

 

 

 
Received on Sunday, 21 January 2007 23:43:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 21 January 2007 23:44:02 GMT