W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2001

RE: ISO8601 and XML Schema dateTime

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Tue, 8 May 2001 13:08:03 -0700
Message-ID: <9D884881F5E1F24FB845967851720FC3797D15@red-msg-12.redmond.corp.microsoft.com>
To: "Jeff Rafter" <jeffrafter@definedweb.com>, <xmlschema-dev@w3.org>
Please see comments embedded in your text below.

All the best, Ashok 
Ashok Malhotra              <mailto: ashokma@microsoft.com> 
Microsoft Corporation
212 Hessian Hills Road
Croton-On-Hudson, NY 10520 USA 
Redmond: 425-703-9462                New York: 914-271-6477 

-----Original Message-----
From: Jeff Rafter [mailto:jeffrafter@definedweb.com] 
Sent: Tuesday, May 08, 2001 12:59 PM
To: xmlschema-dev@w3.org
Subject: ISO8601 and XML Schema dateTime

Now that we have a recommendation I am trying to finalize my date
(in line with the spec.)  I am strugling to understand the lexical
representation and how it fits with ISO 8601.  The spec says:

"[Definition:]   dateTime represents a specific instant of time. The
spaceˇ of dateTime is the space of Combinations of date and time of day
values as defined in § 5.4 of [ISO 8601]."

1) The goes on to specify (in the lexical representation) that an
+/- is allowed to precede the ISO representation of the date/time--
which is
not in ISO 8601 that I can find-- what is the reasoning?
[AM] A negative sign can be used to represent dates before the year
Remember, there is no year 0000

2) Within ISO 8601 5.4 is the combination of date (5.2) and time (5.3).
additional lexical representations using truncation permitted?
[AM] No, they are not

3) Fractional parts of seconds, according to 5.2 may be separated using
[,] comma character and that is in fact the preferred method.  Is this
allowed wrt lexical representation of the XML Schema dateTime?
[AM] No, you must use the decimal point or period or full stop i.e. ".".

Please bear with me as I am new to date time processing and want to get

Jeff Rafter
Defined Systems
XML Development and Developer Web Hosting
Received on Tuesday, 8 May 2001 16:09:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC