comparison test-schema.xsd @ 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 ba6b9e1aaef5
comparison
equal deleted inserted replaced
1245:83b439322229 1246:59b1a6bb2f93
182 </xs:extension> 182 </xs:extension>
183 </xs:simpleContent> 183 </xs:simpleContent>
184 </xs:complexType> 184 </xs:complexType>
185 </xs:element> 185 </xs:element>
186 </xs:sequence> 186 </xs:sequence>
187 <xs:attribute name="id" type="xs:ID" use="optional"/> 187 <xs:attribute ref="id" use="required"/>
188 <xs:attribute name="name" type="xs:string" use="optional"/> 188 <xs:attribute ref="name"/>
189 <xs:attribute ref="mandatory"/> 189 <xs:attribute ref="mandatory"/>
190 <xs:attribute name="min" type="xs:decimal"/> 190 <xs:attribute name="min" type="xs:decimal"/>
191 <xs:attribute name="max" type="xs:decimal"/> 191 <xs:attribute name="max" type="xs:decimal"/>
192 <xs:attribute name="type" use="required"> 192 <xs:attribute name="type" use="required">
193 <xs:simpleType> 193 <xs:simpleType>