I have an XML export from Notes database that has a corresponding XSD. We are hitting problems with NULL values in decimal datatypes.
A large number of Notes fields contain NULL values but when we try and validate the schema against the XML we get errors stating:
“The ‘totalvalue’ element has an invalid value according to its data type.”
Extract from the XSD below. Any ideas what I need to do to be able to handle NULL values in decimal datatypes? If I change the dattype to string it works fine.
<xs:simpleType name=“totalvalue”>
<xs:restriction base=“xs:decimal”>
</xs:restriction>
</xs:simpleType>
…
…
<xs:element ref=“totalvalue” minOccurs=“0”/>
Thanks.
LS