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@[]>
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

Received on Thursday, 4 November 2004 18:18:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:02 UTC