1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/test/schemas/regexp-char-ref_0.xsd
Daniel Veillard bf9c1dad3a add the testchar to 'make check' Volker Grabsch pointed out a typo
* Makefile.am: add the testchar to 'make check'
* xmlschemas.c: Volker Grabsch pointed out a typo
* xmlregexp.c: production [19] from XML Schemas regexps were a
  mistake removed in version REC-xmlschema-2-20041028, Volker Grabsch
  provided a patch to remove it
* test/schemas/regexp-char-ref_0.xml test/schemas/regexp-char-ref_0.xsd
  test/schemas/regexp-char-ref_1.xsd result/schemas/regexp-char-ref_0_0
  result/schemas/regexp-char-ref_1_0: Volker Grabsch also provided
  regession tests for this
Daniel

svn path=/trunk/; revision=3776
2008-08-26 07:46:42 +00:00

21 lines
636 B
XML

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="test">
<xs:complexType>
<xs:attribute name="test1" type="myType"/>
<xs:attribute name="test2" type="myType"/>
<xs:attribute name="test3" type="myType"/>
<xs:attribute name="test4" type="myType"/>
<xs:attribute name="test5" type="myType"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="myType">
<xs:restriction base="xs:string">
<xs:pattern value="[56;&amp;#]"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>