summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/elem0_0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/schemas/elem0_0.xsd')
-rw-r--r--libxml2/test/schemas/elem0_0.xsd16
1 files changed, 16 insertions, 0 deletions
diff --git a/libxml2/test/schemas/elem0_0.xsd b/libxml2/test/schemas/elem0_0.xsd
new file mode 100644
index 0000000..2c5bf5f
--- /dev/null
+++ b/libxml2/test/schemas/elem0_0.xsd
@@ -0,0 +1,16 @@
+<?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>