<xs:simpleType name="CRC"> <xs:restriction base="xs:string"> <xs:pattern value="[0-9a-fA-F]+"/> </xs:restriction> </xs:simpleType>