changeset 1246:59b1a6bb2f93

Syntax change to schema. ID is required for survey elements.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 09 Mar 2016 14:34:32 +0000
parents 83b439322229
children 3c083ee1b743
files test-schema.xsd
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test-schema.xsd	Wed Mar 09 14:12:22 2016 +0000
+++ b/test-schema.xsd	Wed Mar 09 14:34:32 2016 +0000
@@ -184,8 +184,8 @@
                 </xs:complexType>
               </xs:element>
             </xs:sequence>
-            <xs:attribute name="id" type="xs:ID" use="optional"/>
-            <xs:attribute name="name" type="xs:string" use="optional"/>
+            <xs:attribute ref="id" use="required"/>
+            <xs:attribute ref="name"/>
             <xs:attribute ref="mandatory"/>
             <xs:attribute name="min" type="xs:decimal"/>
             <xs:attribute name="max" type="xs:decimal"/>