Edit

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

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2003-03-27 23:44:43
    Hash : 91a1325b
    Message : fixed bugs and memory leaks in the W3C XML Schemas code implemented * xmlschemas.c include/libxml/xmlschemas.h: fixed bugs and memory leaks in the W3C XML Schemas code * xmlschemastypes.c: implemented nonPositiveInteger * test/schemas/length2_0.xsd result/schemas/length2_0_0.err: fixed the test and result. Daniel

  • test/schemas/length2_0.xsd
  • <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:complexType name="length2">
        <xs:complexContent>
          <xs:restriction base="xs:anyType">
            <xs:sequence>
              <xs:element name="size" type="xs:nonNegativeInteger"/>
              <xs:element name="unit" type="xs:NMTOKEN"/>
            </xs:sequence>
          </xs:restriction>
        </xs:complexContent>
      </xs:complexType>
      <xs:element name="depth" type="length2"/>
    </xs:schema>