Hash :
b39bc393
Author :
Date :
2002-10-26T19:29:51
Christian Glahn found a problem with a recent patch to * parser.c: Christian Glahn found a problem with a recent patch to xmlParseBalancedChunkMemoryRecover() * xmlschemas.c: Charles Bozeman fixed some Schemas validation problems * result/schemas/elem* result/schemas/seq* test/schemas.elem* test/schemas/seq*: added the test cases from Charles Daniel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation>
Testing min and max occurance attributes on sequences
</xsd:documentation>
</xsd:annotation>
<xsd:element name="doc">
<xsd:complexType>
<xsd:sequence minOccurs='0' maxOccurs='unbounded'>
<xsd:element name="z-o">
<xsd:complexType>
<xsd:sequence minOccurs='0' maxOccurs='1'>
<xsd:element name='b'/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="o-o">
<xsd:complexType>
<xsd:sequence minOccurs='1' maxOccurs='1'>
<xsd:element name='c'/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="z-u">
<xsd:complexType>
<xsd:sequence minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='d'/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="o-u">
<xsd:complexType>
<xsd:sequence minOccurs='1' maxOccurs='unbounded'>
<xsd:element name='e'/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="z-3">
<xsd:complexType>
<xsd:sequence minOccurs='0' maxOccurs='3'>
<xsd:element name='f'/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="o-3">
<xsd:complexType>
<xsd:sequence minOccurs='1' maxOccurs='3'>
<xsd:element name='g'/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>