Edit

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

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2002-10-16 14:08:14
    Hash : 3237023d
    Message : fixed the validation of sequences content model when some of the blocks * xmlregexp.c xmlschemas.c: fixed the validation of sequences content model when some of the blocks have min or max, and a couple of bugs found in the process. * result/schemas/list0* test/schemas/list0*: added some specific regression tests Daniel

  • test/schemas/list0_0.xsd
  • <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
      <xs:element name="test">
        <xs:annotation>
          <xs:documentation>Comment describing your root element</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="string" type="xs:string" minOccurs="2" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>