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

[DM] BEA_002

From: Daniela Florescu <danielaf@bea.com>
Date: Sun, 15 Feb 2004 21:08:20 -0800
Message-Id: <235A3248-603E-11D8-9D91-0003937198F4@bea.com>
To: public-qt-comments@w3.org

Data Model:  specification too fuzzy

The Data Model misses certain consistency constraints that seem
to be required to preserve a data model instance internally consistent.

Examples are:
(a) is it true that if a node has a base uri propery, then all the 
descendants
have the same base-uri property?
(b) is it true that if a node has the nillability property being true, 
then it has
no text  and elements nodes as children, and it has an attribute 
xsi:nil="true"?
(c) if the type annotation of an element is a certain Qname different 
from xdt:untyped
and the element has  an attribute xsi:type, then are the value of the 
attribute and the type
annotation required to be the same ?
(d) etc

If the data model is generated via Infoset or PSVI it is relatively 
clear that those extra constraints
are not violated. The problem is that Data Model instances can be 
generated
directly by applications from other input structures (e.g SQL records, 
COBOL structures) etc.

The concern is that the application generated data model instances 
(other then Infoset and
PSVI) do not have a set of rules and constraints clearly spelled out 
that they will have to satisfy
to create correct data model instances.
Received on Monday, 16 February 2004 00:07:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC