changeset 3033:21e3777edf58

#218 Add mandatory tags to comment/-question/-slider/-radio/-checkbox in schema
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 25 Sep 2017 11:57:42 +0100
parents 63af2e23c3d2
children 49eca76782d2
files xml/test-schema.xsd
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/xml/test-schema.xsd	Mon Sep 25 11:55:52 2017 +0100
+++ b/xml/test-schema.xsd	Mon Sep 25 11:57:42 2017 +0100
@@ -277,6 +277,7 @@
                 </xs:sequence>
                 <xs:attribute ref="id" use="optional" />
                 <xs:attribute ref="name" use="optional" />
+                <xs:attribute ref="mandatory" use="optional" />
             </xs:complexType>
         </xs:element>
 
@@ -296,6 +297,7 @@
                 </xs:sequence>
                 <xs:attribute ref="id" use="optional" />
                 <xs:attribute ref="name" use="optional" />
+                <xs:attribute ref="mandatory" use="optional" />
             </xs:complexType>
         </xs:element>
 
@@ -306,6 +308,7 @@
                 </xs:sequence>
                 <xs:attribute ref="id" use="optional" />
                 <xs:attribute ref="name" use="optional" />
+                <xs:attribute ref="mandatory" use="optional" />
             </xs:complexType>
         </xs:element>
 
@@ -322,6 +325,7 @@
                 <xs:attribute name="max" type="xs:decimal" use="required" />
                 <xs:attribute name="step" type="xs:decimal" use="optional" default="1" />
                 <xs:attribute name="value" type="xs:decimal" use="optional" />
+                <xs:attribute ref="mandatory" use="optional" />
             </xs:complexType>
         </xs:element>