comparison test-schema.xsd @ 1940:fffc644a018d

Hotfix: Updated schema. <audioelement>, <surveyelement> and <commentquestion> have optional name attribute.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 09 Mar 2016 11:29:16 +0000
parents 7c846e19725f
children c82bd8a6fa95
comparison
equal deleted inserted replaced
1939:7c846e19725f 1940:fffc644a018d
114 <xs:element name="audioelement"> 114 <xs:element name="audioelement">
115 <xs:complexType> 115 <xs:complexType>
116 <xs:attribute ref="id" use="required"/> 116 <xs:attribute ref="id" use="required"/>
117 <xs:attribute name="url" type="xs:anyURI" use="required"/> 117 <xs:attribute name="url" type="xs:anyURI" use="required"/>
118 <xs:attribute name="gain" type="xs:decimal" default="0"/> 118 <xs:attribute name="gain" type="xs:decimal" default="0"/>
119 <xs:attribute ref="name"/>
119 <xs:attribute name="type" default="normal"> 120 <xs:attribute name="type" default="normal">
120 <xs:simpleType> 121 <xs:simpleType>
121 <xs:restriction base="xs:string"> 122 <xs:restriction base="xs:string">
122 <xs:enumeration value="normal"/> 123 <xs:enumeration value="normal"/>
123 <xs:enumeration value="anchor"/> 124 <xs:enumeration value="anchor"/>
150 </xs:extension> 151 </xs:extension>
151 </xs:simpleContent> 152 </xs:simpleContent>
152 </xs:complexType> 153 </xs:complexType>
153 </xs:element> 154 </xs:element>
154 </xs:sequence> 155 </xs:sequence>
155 <xs:attribute ref="id" use="required"/> 156 <xs:attribute ref="id"/>
157 <xs:attribute ref="name" use="required"/>
156 <xs:attribute name="type" default="question"> 158 <xs:attribute name="type" default="question">
157 <xs:simpleType> 159 <xs:simpleType>
158 <xs:restriction base="xs:string"> 160 <xs:restriction base="xs:string">
159 <xs:enumeration value="question"/> 161 <xs:enumeration value="question"/>
160 <xs:enumeration value="radio"/> 162 <xs:enumeration value="radio"/>
180 </xs:extension> 182 </xs:extension>
181 </xs:simpleContent> 183 </xs:simpleContent>
182 </xs:complexType> 184 </xs:complexType>
183 </xs:element> 185 </xs:element>
184 </xs:sequence> 186 </xs:sequence>
185 <xs:attribute ref="id"/> 187 <xs:attribute name="id" type="xs:ID" use="optional"/>
188 <xs:attribute name="name" type="xs:string" use="optional"/>
186 <xs:attribute ref="mandatory"/> 189 <xs:attribute ref="mandatory"/>
187 <xs:attribute name="min" type="xs:decimal"/> 190 <xs:attribute name="min" type="xs:decimal"/>
188 <xs:attribute name="max" type="xs:decimal"/> 191 <xs:attribute name="max" type="xs:decimal"/>
189 <xs:attribute name="type" use="required"> 192 <xs:attribute name="type" use="required">
190 <xs:simpleType> 193 <xs:simpleType>