W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 1999

Re: XML Schema part 2 -Datatypes

From: <petsa@us.ibm.com>
Date: Thu, 27 May 1999 09:22:50 -0400
To: "Jon Dart" <jdart@tibco.com>
cc: Www-Xml-Schema-Comments@w3.org
Message-ID: <8525677E.00497FC5.00@D51MTA03.pok.ibm.com>
Thanks for your comments.  I'm delighted that you are using DCD!

We are moving towards simplifying the allowable lexical formats
for datatypes.  Stay tuned!  I will look at the 2nd edition of ISO 8601.

As for i2, i4, r4, etc. you can easily define them as user-defined
datatypes using the max/min facets.

Regards, Ashok

 image moved to "Jon Dart" <jdart@tibco.com>                       
 file:          05/26/99 04:53 PM                                  

To:   www-xml-schema-comments@w3.org
cc:    (bcc: Ashok Malhotra/Watson/IBM)
Subject:  XML Schema part 2 -Datatypes

We are using a similar type system (derived primarily from the DCD technical
in a number of our products. We use XML metadata for a somewhat different
than XML Schema is designed for - we are primarily interested in supporting
object-oriented modeling of business objects. These objects may be realized in
various forms: e.g. as rows in a database table, as messages travelling through
a network, or possibly as XML. Our focus is therefore not so much on specifying
and validating the string representation of types in XML - we are more
in having a robust, general type system that can be applied in various contexts.

Still, we have hit many issues that XML Schema addresses, so I'm sending the
following comments.

1. The text of ISO 8601 is quite imprecise in many areas. There is a draft
2nd edition of ISO 8601 available from
which tighens up and clarifies much of the language.

2. As you probably know, ISO 8601 has a very wide range of allowable formats
many permissible variations. I would recommend specifying a subset of ISO 8601
for use with XML Schema. We have made the following simplifications, for

   a. Dates and times are in "extended format" only, e.g. 1999-05-27, not
       23:03:27, not 230327.
   c. Commas are not permitted as "decimal point" indicators.
   d. None of the "truncated representations" are permissible (e.g. "-05-27" for
a date).
   e. Our "interval" data type only allows the "period of time" representation,
       example "P2DT10H20M6.6S".

These may be too restrictive; but I still think ISO 8601 (1988) is too imprecise
permissive to be a good standard by itself.

3. We use the types "i1", "i2", 'i4", "i8", "ui1", "ui2", "ui4", "ui8" for
signed and unsigned
integers of sizes 1, 2, 4, and 8 bytes. Also "r4" and "r8" for 4- and 8-byte
I think these were in DCD. It appears you have a more general integer type
system, but it would be nice to have these specific types predefined.


Jon Dart                               jdart@tibco.com
TIBCO Software Inc.              650-846-5099

Received on Thursday, 27 May 1999 09:23:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:45 UTC