Edit

kc3-lang/libxml2/test/schemas/elem0_0.xsd

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2002-10-26 19:29:51
    Hash : b39bc393
    Message : 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

  • test/schemas/elem0_0.xsd
  • <?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 element
        </xsd:documentation>
      </xsd:annotation>
    
      <xsd:element name="doc">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name='a' minOccurs='0' maxOccurs='3'/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>