The elements dateCreatedByApplication and eventDateTime are currently of
type xs:dateTime.
<!-- from ob ject schema -->
<xs:element
name="dateCreatedByApplication" minOccurs="0" maxOccurs="1" type="xs:dateTime">
</xs:element>
<!-- event schema -->
<xs:element
name="eventDateTime" minOccurs="1" maxOccurs="1" type="xs:dateTime">
</xs:element>
I was wondering if it would be acceptable for this data type to be a bit
less stringent by creating a DateType that is a union of xs:date and
xs:dateTime as follows:
<xs:simpleType name="DateType">
<xs:union memberTypes="xs:date xs:dateTime"></xs:union>
</xs:simpleType>
This would mean that either of the following values would be legal.
2005-04-17T00:00:00.001
or
2005-04-1
Morgan Cundiff
|