Definition Type: SimpleType
Name: nullable-dateTime
Namespace: http://rets.org/xsd/RETSCommons/2007-08
Containing Schema: Primitives.xsd
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.
Collapse XSD Schema Diagram:
XSD Diagram of nullable-dateTime in schema primitives_xsd (Real Estate Transaction Standard (RETS))
Collapse XSD Schema Code:
<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>
Collapse Derivation Tree:
Collapse References:
commons:SecureDateTime