Commit b8bbfd2b authored by Oliver Bock's avatar Oliver Bock

Ensure that each BOINC preference tag has unique attribute names (if any)

parent 2e086aa9
......@@ -157,7 +157,12 @@
<xs:element name="radio" type="radio" />
<xs:element name="dropdown" type="dropdown" />
<xs:element name="attributes" type="attributes" />
<xs:element name="attributes" type="attributes">
<xs:unique name="unique-preference-attributes-per-tag">
<xs:selector xpath=".//*"/>
<xs:field xpath="@name"/>
<xs:attribute name="name" type="xs:string" use="required" />
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