poi/xmlbeans/test/cases/xbean/scomp/redefine/BaseSimple.xs
2018-02-16 22:41:27 +00:00

18 lines
469 B
Plaintext

<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<xs:simpleType name="SizeT">
<xs:restriction base="xs:integer"/>
</xs:simpleType>
<xs:simpleType name="ColorT">
<xs:restriction base="xs:string">
<xs:pattern value="white|green"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="OldSizeElt" type="SizeT"/>
<xs:element name="OldColorElt" type="ColorT"/>
</xs:schema>