comparison test-schema.xsd @ 1104:c82bd8a6fa95

Comment questions have optional id and/or name attributes.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 09 Mar 2016 14:04:31 +0000
parents 2051868b21f0
children 83b439322229
comparison
equal deleted inserted replaced
1103:2051868b21f0 1104:c82bd8a6fa95
151 </xs:extension> 151 </xs:extension>
152 </xs:simpleContent> 152 </xs:simpleContent>
153 </xs:complexType> 153 </xs:complexType>
154 </xs:element> 154 </xs:element>
155 </xs:sequence> 155 </xs:sequence>
156 <xs:attribute ref="id"/> 156 <xs:attribute ref="id" use="optional"/>
157 <xs:attribute ref="name" use="required"/> 157 <xs:attribute ref="name" use="optional"/>
158 <xs:attribute name="type" default="question"> 158 <xs:attribute name="type" default="question">
159 <xs:simpleType> 159 <xs:simpleType>
160 <xs:restriction base="xs:string"> 160 <xs:restriction base="xs:string">
161 <xs:enumeration value="question"/> 161 <xs:enumeration value="question"/>
162 <xs:enumeration value="radio"/> 162 <xs:enumeration value="radio"/>