Re: validation of time datatype

Hi Walter,

> does the element
> <myTime xsi:type="xs:time">10:23</myTime>
> validate or is it necessary to write
> <myTime xsi:type="xs:time">10:23:00.000</myTime>
> ?

I think the first is invalid and the shortest you can get away with
is:

  <myTime xsi:type="xs:time">10:23:00</myTime>

> The more general question is which part of the ISO8601 standard
> is relevant for time and dataTime datatypes?

Appendix D in the XML Schema Datatypes Rec describes how XML Schema
datatypes tie in with ISO 8601. See
http://www.w3.org/TR/xmlschema-2/#isoformats.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

Received on Thursday, 1 November 2001 12:19:03 UTC