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

[DM] BEA_003

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

Data Model: request for simplification

We would like to simplify the definition of the typed value
as follows.

The typed value of a document should raise an error.
The typed value of a element with complex type with
mixed content should raise an error.
The typed error on a namespace node should raise an error.
The typed value of a processing instruction should raise an error.
The typed value of comment should raise an error.

I do not see the rationale for supporting the cases above. They do not 
bring
any additional expressive power.

The typed value only makes sense for attributes, for elements with
simple content or complex type with simple content and for text nodes.

In general, as a design philosophy, it is preferable to add this kind 
of limitations
in V1. We can always convert an error into a real value in the next 
versions,
but not a wrong kind of value into another value or error later on.
Received on Monday, 16 February 2004 00:12:11 UTC

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