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

ORA-DM-163-B: incomplete rules for regenerating the string value

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 14:26:07
Message-Id: <200402162226.i1GMQ7b23686@rgmgw4.us.oracle.com>
To: public-qt-comments@w3.org
Cc:

SECTION 6.2.2: Accessors (in 6.2 Element nodes)

dm:string-value(): the note about "recovering" the original 
lexical representation of xs:dateTime, xs:date and xs:time 
types hints that the model is that the original lexical
representation can be lost (probably as a result of forming the 
PSVI).  If that is the case, then don't we need to talk about some 
other types as well?  For example, xs:duration.  There are
many equivalent ways to represent a zero duration, such as
P0Y = P0M = P0D = PT0H = PT0M = PT0S.  Given an element of 
simple type xs:duration whose value is the zero duration, 
which of these (or many other candidates) is the string value?
In general many types have more than one lexical representation
for the same value.  Since the model is that the implementaiton
is not required to save the true original lexical representation,
we need rules telling which lexical representation to 
regenerate as the string value.

- Steve B.
Received on Monday, 16 February 2004 17:26:11 UTC

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