<xs:simpleType name="nullable-dateTime">
<xs:annotation>
<xs:documentation>
Utilization of the xml validation trick of nullability.
See nntp:microsoft.public.dotnet.xml
messageId O8#J5#61EHA.2676@TK2MSFTNGP12.phx.gbl
by Patricia Walmsley.
As noted therein, the normally described solution of
using the nillable attribute requires the addition of
the xs:nil="true" to each element that is nil.
The solution provided in the nntp group
xmlschema-dev@w3.org
messageId 170431525270.20030527171850@jenitennison.com
does not work.
The union permits the underlying data type
representation and the empty element tag.
Both a valid dateTime and the string "" will validate.
This documentation comment applies to all simpleTypes
with the name pattern nullable-data-type.
</xs:documentation>
</xs:annotation>
<xs:union memberTypes="xs:dateTime commons:empty-string" />
</xs:simpleType>
|