W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2002

typed value of xs:anyType elements

From: Jeni Tennison <jeni@jenitennison.com>
Date: Mon, 19 Aug 2002 17:45:15 +0100
Message-ID: <151616541810.20020819174515@jenitennison.com>
To: public-qt-comments@w3.org

Hi,

I have the feeling that I've commented on this before, but I still
don't like the fact that the typed value of an element with the type
xs:anyType is computed by taking its string value and converting that
to an atomic value of type xs:anySimpleType, whereas trying to get the
typed value of an element of any other type with complex content
causes an error.

I think it should be consistently one way or the other. Either getting
the typed value of an element with the type xs:anyType should raise an
error or elements with types with complex content should have typed
values based on converting their string value to an atomic value of
type xs:anySimpleType.

Either way could work I think; the first option is only really
practical if invalid/unvalidated elements don't have the type
xs:anyType.

Cheers,

Jeni
---
Jeni Tennison
http://www.jenitennison.com/
Received on Monday, 19 August 2002 12:45:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:57 GMT