Closed srowen closed 1 year ago
Just recording a todo for myself. If a type is declared in an XSD and then used by name, it should work:
<xs:simpleType name="somedecimal"> <xs:restriction base="xs:decimal"> <xs:fractionDigits value="6"/> <xs:totalDigits value="12"/> </xs:restriction> </xs:simpleType> ... <xs:element name="decimal_thing" type="somedecimal"/>
(incidentally, need to support totalDigits too)
Resolved by https://github.com/databricks/spark-xml/pull/638
Just recording a todo for myself. If a type is declared in an XSD and then used by name, it should work:
(incidentally, need to support totalDigits too)