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

Re: xs:datetime are hours and minutes optional or not?

From: Jeni Tennison <jeni@jenitennison.com>
Date: Sat, 27 Oct 2001 11:44:18 +0100
Message-ID: <15589873180.20011027114418@jenitennison.com>
To: Eric van der Vlist <vdv@dyomedea.com>
CC: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Hi Eric,

> In the description of the lexical space of xs:datetime it is said
> that "The fractional seconds part is optional; other parts of the
> lexical form are not optional" but also that "If the time zone is
> included, both hours and minutes must be present".
>
> Are there situations when hours, minutes (and seconds) are optional
> or not?

I think that the 'hours' and 'minutes' that 'must be present' in that
paragraph are the hours and minutes of the timezone rather than the
hours and minutes of the time.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Saturday, 27 October 2001 06:44:22 GMT

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