Commit 46601c19 authored by Oliver Bock's avatar Oliver Bock

Ensure unique tag names for all attributed elements as well

* Note: this doesn't enforce uniqueness among attributed AND simple preference settings (still needs to be added!)
parent db2a0349
......@@ -179,7 +179,11 @@
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:unique name="unique-preference-tags-per-venue">
<xs:unique name="unique-attributed-preference-tags-per-venue">
<xs:selector xpath=".//psp:compound"/>
<xs:field xpath="@name"/>
</xs:unique>
<xs:unique name="unique-simple-preference-tags-per-venue">
<xs:selector xpath=".//psp:compound/*"/>
<xs:field xpath="@name"/>
</xs:unique>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment