jsnX wrote:
I'm not asking what the schema spec says - I'm asking whether it's
wrong or not. All the examples of ISO-8601 that I've seen use a comma,
not a period - and the schema spec claims conformance to ISO-8601.
Actually, no. The Schema spec actually says only that "The date and time
datatypes described in this recommendation were inspired by [ISO 8601]"
-- not that their lexical or value spaces are identical to that ISO
specification.
For what it's worth, ISO-8601 appears to accept *either* comma or period
as its decimal-point mark, though I'm told comma is considered preferred.
So you could try contacting the W3C and suggesting that comma be added
as an acceptable alternative, either as an erratum or in a future
revision of the Datatypes spec. I think you'll get some pushback, since
this would mean new documents could break old processors, but you might
be able to get them to add a variant (superset type?) of dateTime which
accepts either.
--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden