diff xml/test-schema.xsd @ 2757:4c76b5e8874b

#183. Survey nodes can be empty
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 14 Apr 2017 16:43:55 +0100
parents b9efbbe0d829
children 2fc62a50d593
line wrap: on
line diff
--- a/xml/test-schema.xsd	Fri Apr 14 16:24:17 2017 +0100
+++ b/xml/test-schema.xsd	Fri Apr 14 16:43:55 2017 +0100
@@ -451,7 +451,7 @@
 
         <xs:element name="survey">
             <xs:complexType>
-                <xs:choice maxOccurs="unbounded">
+                <xs:choice maxOccurs="unbounded" minOccurs="0">
                     <xs:element name="surveyentry" maxOccurs="unbounded">
                         <xs:complexType>
                             <xs:sequence>