changeset 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 d30222a70f2d
children 4bf08f7279fb
files xml/test-schema.xsd
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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>