Re: ISO8601 and XML Schema dateTime

> >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 UTC