mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-27 04:55:04 +03:00
91a1325beb
* 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
15 lines
467 B
XML
15 lines
467 B
XML
<?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>
|