Mercurial > hg > webaudioevaluationtool
changeset 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 | 8167e29c073b |
files | test-schema.xsd |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test-schema.xsd Tue Mar 08 14:44:14 2016 +0000 +++ b/test-schema.xsd Wed Mar 09 11:29:16 2016 +0000 @@ -116,6 +116,7 @@ <xs:attribute ref="id" use="required"/> <xs:attribute name="url" type="xs:anyURI" use="required"/> <xs:attribute name="gain" type="xs:decimal" default="0"/> + <xs:attribute ref="name"/> <xs:attribute name="type" default="normal"> <xs:simpleType> <xs:restriction base="xs:string"> @@ -152,7 +153,8 @@ </xs:complexType> </xs:element> </xs:sequence> - <xs:attribute ref="id" use="required"/> + <xs:attribute ref="id"/> + <xs:attribute ref="name" use="required"/> <xs:attribute name="type" default="question"> <xs:simpleType> <xs:restriction base="xs:string"> @@ -182,7 +184,8 @@ </xs:complexType> </xs:element> </xs:sequence> - <xs:attribute ref="id"/> + <xs:attribute name="id" type="xs:ID" use="optional"/> + <xs:attribute name="name" type="xs:string" use="optional"/> <xs:attribute ref="mandatory"/> <xs:attribute name="min" type="xs:decimal"/> <xs:attribute name="max" type="xs:decimal"/>