W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2001

Length of a day.

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Sat, 27 Oct 2001 10:55:52 +0200
Message-ID: <3BDA7698.2030307@dyomedea.com>
To: www-xml-schema-comments@w3.org
I wonder if the W3C XML Schema recommendation is conform to ISO 8601 on 
the issue of the length of a day.

W3C XML Schema:
--------------

3.2.9 date

[Definition:]  date represents a calendar date. The ·value space· of 
date is the set of Gregorian calendar dates as defined in § 5.2.1 of 
[ISO 8601]. Specifically, it is a set of one-day long, non-periodic 
instances e.g. lexical 1999-10-26 to represent the calendar date 
1999-10-26, independent of how many hours this day has.

ISO 8601:
--------
§ 5.2.1 doesn't say what a "date" is, but this is defined in the "3 
Terms and definition":

3.3 date, calendar: A particuliar day of the calendar year

and

3.5 day: A period of 24 hours starting at 0000 and ending at 2400

Eric
-- 
Rendez-vous ą Paris pour le Forum XML.
                    http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Saturday, 27 October 2001 04:55:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:57 GMT