regexp-char-ref_1.xsd 636 B

1234567891011121314151617181920
  1. <?xml version="1.0"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:element name="test">
  4. <xs:complexType>
  5. <xs:attribute name="test1" type="myType"/>
  6. <xs:attribute name="test2" type="myType"/>
  7. <xs:attribute name="test3" type="myType"/>
  8. <xs:attribute name="test4" type="myType"/>
  9. <xs:attribute name="test5" type="myType"/>
  10. </xs:complexType>
  11. </xs:element>
  12. <xs:simpleType name="myType">
  13. <xs:restriction base="xs:string">
  14. <xs:pattern value="[&amp;#65;]"/>
  15. </xs:restriction>
  16. </xs:simpleType>
  17. </xs:schema>