fixed bug #310264, basically it's about reentrancy of count based
* xmlregexp.c: fixed bug #310264, basically it's about reentrancy
of count based transition, when going though the counter must
be reset to 0
* test/schemas/bug310264* result/schemas/bug310264*: added the
regression test.
Daniel
diff --git a/test/schemas/bug310264_0.xsd b/test/schemas/bug310264_0.xsd
new file mode 100644
index 0000000..6f2b333
--- /dev/null
+++ b/test/schemas/bug310264_0.xsd
@@ -0,0 +1,18 @@
+<xs:schema xmlns:tns="http://myns"
+ targetNamespace="http://myns"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+>
+
+ <xs:element name="a" />
+
+ <xs:complexType name="c" >
+ <xs:sequence minOccurs="2" maxOccurs="4">
+ <xs:sequence minOccurs="19" maxOccurs="20">
+ <xs:element ref="tns:a" />
+ </xs:sequence>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="c" type="tns:c" />
+
+</xs:schema>