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

Time Zones and XML Schema date types

From: Jeff Rafter <jeffrafter@definedweb.com>
Date: Tue, 8 May 2001 13:53:04 -0700
Message-ID: <017101c0d800$e0bce7d0$f181fea9@lazarus>
To: <xmlschema-dev@w3.org>
I am wondering why the spec allows time zone indicators for non time types
such as date, gMonthYear, gYear... etc.  Though the examples don't
explicitly show dates I am assuming

1999-01-15 <> 1999-01-15Z

Because the starting instant of 1999-01-15 cannot be determined.  Is this
wierd?  It seems as though the behavior that this represents should be
reserved for types which include time (not date only).  Therefore, to
accomplish the above one would have to use dateTimes (as in the ordering
samples):

1999-01-15T00:00:00 <> 1999-01-15T00:00:00Z

Can anyone shed some light on how the decision was reached?

Thanks,
Jeff Rafter
Defined Systems
http://www.defined.net
XML Development and Developer Web Hosting
Received on Tuesday, 8 May 2001 16:53:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:20 GMT