A datatype of isoDateType will be formatted according to ISO 8601. See http://www.cl.cam.ac.uk/~mgk25/iso-time.html for a discussion of this notation.
The date type is captured in W3C XML Schema datatypes of date and timeInstant. The W3C datatype of date is the format YYYY-MM-DD. It is uncertain whether or not readers will handle truncated versions of this (for example, YYYY-MM). Likewise, the timeInstant datatype includes the time portion, as well as the date portion, and it is also uncertain about how readers will handle truncations. Future version of isoDateType may also include the truncated possibilities.
Note that the isoDateType also includes a time. This makes it comparable to a timestamp.
This datatype was developed to support the use of the ISO Date format as a valid expression of date and/or time.
<xsd:simpleType name="isoDateType"> <xsd:union memberTypes="xsd:date xsd:timeInstant"/> </xsd:simpleType>
<xsd:element name="SpudDate" type="isoDateType"/>
<xsd:element name="CompletionDate>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="isoDate" type="isoDateType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<SpudDate>1999-04-22</SpudDate>
<CompletionDate>
<isoDate>1999-06-03</isoDate>
</CompletionDate>