# test disallowed facet types and values
# only 1 test per file, as first test will always fail the whole file when the schema is parsed
--- |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="bad_minLength" type="bad_minLength"/>
<xs:simpleType name="bad_minLength">
<xs:restriction base="xs:decimal">
<xs:minLength value="-1"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
--- |
<bad_minLength>1</bad_minLength>
--- >
FAIL /nonNegativeInteger/