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

Re: XSD vs ISO seconds fraction separator

From: Dave Peterson <davep@iit.edu>
Date: Thu, 4 Nov 2004 13:18:25 -0500
Message-Id: <a05210608bdb021e5747a@[192.168.0.2]>
To: Daniel Vogelheim <Daniel.Vogelheim@Sun.COM>, www-xml-schema-comments@w3.org

At 6:06 PM +0100 041104, Daniel Vogelheim wrote:
>Hello all,
>
>Regarding dateTime (and similar time types):
>
>ISO 8601 specifies that seconds and fractions of seconds are to be 
>separated by a comma or a dot, with comma being preferred. The XML 
>Schema data type 'dateTime' allows only the dot. This difference is 
>a bit of a nuisance when validating ISO conforming date-time values 
>with second fractions. Is this deliberate, or could this be 
>considered an errata?

I believe it was deliberate.  Schema is more concerned with "everyone
does it the same way" than ISO was; whether they should have locked
in to use only comma rather than period could perhaps be debated.

There are many ISO formats that are not allowed in Schema date/time
lexical representations; this is just one of many.

(Speaking for myself, not for the Schema WG.)
-- 
Dave Peterson
SGMLWorks!

davep@iit.edu
Received on Thursday, 4 November 2004 18:18:24 GMT

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