Topic: dates in XSD and standard ISO 8601
In input document XML I receive date in format YYYYMMDD. However xsd at refuses to process such format.
:Cvc-datatype-valid.1.2.1: ' 20170110 ' Is Not A Valid Value For ' date'
Field format in XSD:
<xs:element name = "NEW_DATE" type = "NEW_DATEType" minOccurs = "0" xdb:SQLType = "DATE"/> <xs:simpleType name = "NEW_DATEType"> <xs:restriction base = "xs:date"/> </xs:simpleType>
Whether prompt, please, there is a variant to accustom xsd to work with such format without changing field type on string?