changeset 1887:9b8daa76d737

Syntax change to schema. ID is required for survey elements.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 09 Mar 2016 14:34:32 +0000
parents 49d06c3dc44e
children dc1a4bf0b6b3
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"/>