Commit 08df019d authored by Oliver Bock's avatar Oliver Bock

Compound elements are now first class citizens, derive them from the component base type

parent 3dff4fca
......@@ -139,16 +139,18 @@
</xs:complexType>
<xs:complexType name="compound">
<xs:sequence>
<xs:element name="title" type="title" minOccurs="1" maxOccurs="1" />
<xs:element name="attributes" type="attributes">
<xs:unique name="unique-preference-attributes-per-tag">
<xs:selector xpath=".//*"/>
<xs:field xpath="@name"/>
</xs:unique>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:complexContent>
<xs:extension base="component">
<xs:sequence>
<xs:element name="attributes" type="attributes">
<xs:unique name="unique-preference-attributes-per-tag">
<xs:selector xpath=".//*"/>
<xs:field xpath="@name"/>
</xs:unique>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- grouping types -->
......
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