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

Re: ISO8601 and XML Schema dateTime

From: Jeff Rafter <jeffrafter@definedweb.com>
Date: Tue, 8 May 2001 19:56:01 -0700
Message-ID: <008f01c0d833$950442b0$f181fea9@lazarus>
To: "C. M. Sperberg-McQueen" <cmsmcq@acm.org>
Cc: <xmlschema-dev@w3.org>
> >3) Fractional parts of seconds, according to 5.2 may be separated using
the
> >[,] comma character and that is in fact the preferred method.  Is this
> >allowed wrt lexical representation of the XML Schema dateTime?
>
> Do you mean using comma to indicate the decimal point, or do you mean
> as a grouping separator if more than three fractional digits are
> provided?

Oops, not 5.2, 5.3.1.3, which reads:

"5.3.1.3 Representation of decimal fractions

If necessary for a particular application a decimal fraction of
hour, minute or second may be included.  If a decimal fraction is
included, lower order components (if any) shall be omitted, and
the decimal fraction shall be divided from the integer part by
the decimal sign specified in ISO 31-0: i.e. the comma [,] or full
stop [.].  Of these, the comma is the preferred sign."

In one of the examples it is clear that it is not a place seperator but is
actually being used to separate the fractional part.

> Whichever function you and/or 8601 have in mind, it's not
> allowed for XML Schema's dateTime type.

Okay, understood.

Thanks to both you and Ashok for all of the help,

Jeff Rafter
Defined Systems
http://www.defined.net
XML Development and Developer Web Hosting
Received on Tuesday, 8 May 2001 22:56:33 GMT

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