comparison xml/test-schema.xsd @ 2461:e3710f3e29fe

Added schema changes for #5
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 08 Jun 2016 14:25:46 +0100
parents 77404bde464c
children 75bd7b5dc522
comparison
equal deleted inserted replaced
2460:0ff4a9925597 2461:e3710f3e29fe
247 <xs:attribute ref="name" /> 247 <xs:attribute ref="name" />
248 </xs:extension> 248 </xs:extension>
249 </xs:simpleContent> 249 </xs:simpleContent>
250 </xs:complexType> 250 </xs:complexType>
251 </xs:element> 251 </xs:element>
252 <xs:element name="conditional" minOccurs="0" maxOccurs="unbounded">
253 <xs:complexType>
254 <xs:attribute name="check" use="required">
255 <xs:simpleType>
256 <xs:restriction base="xs:string">
257 <xs:enumeration value="equals"/>
258 <xs:enumeration value="lessThan"/>
259 <xs:enumeration value="greaterThan"/>
260 <xs:enumeration value="stringContains"/>
261 </xs:restriction>
262 </xs:simpleType>
263 </xs:attribute>
264 <xs:attribute name="jumpToOnPass" type="xs:string" use="optional"/>
265 <xs:attribute name="jumpToOnFail" type="xs:string" use="optional"/>
266 </xs:complexType>
267 </xs:element>
252 </xs:sequence> 268 </xs:sequence>
253 <xs:attribute ref="id" use="required" /> 269 <xs:attribute ref="id" use="required" />
254 <xs:attribute ref="name" /> 270 <xs:attribute ref="name" />
255 <xs:attribute ref="mandatory" /> 271 <xs:attribute ref="mandatory" />
256 <xs:attribute name="min" type="xs:decimal" /> 272 <xs:attribute name="min" type="xs:decimal" />