Skip to content

Commit

Permalink
Use distinct types instead of elementUnrefType to simplify bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
mkudukin committed Aug 19, 2024
1 parent 88ea525 commit 9b3eea1
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions repository/src/main/resources/xsd/repositorytypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@
<xs:element name="componentRef" type="fixr:componentRefType"/>
<xs:element name="groupRef" type="fixr:groupRefType"/>
<xs:element name="fieldRef" type="fixr:fieldRefType"/>
<xs:element name="componentUnref" type="fixr:elementUnrefType"/>
<xs:element name="groupUnref" type="fixr:elementUnrefType"/>
<xs:element name="fieldUnref" type="fixr:elementUnrefType"/>
<xs:element name="componentUnref" type="fixr:componentUnrefType"/>
<xs:element name="groupUnref" type="fixr:groupUnrefType"/>
<xs:element name="fieldUnref" type="fixr:fieldUnrefType"/>
</xs:choice>
<xs:element name="annotation" type="fixr:annotation" minOccurs="0"/>
</xs:sequence>
Expand Down Expand Up @@ -457,6 +457,21 @@
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="fieldUnrefType">
<xs:complexContent>
<xs:extension base="fixr:elementUnrefType"/>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="groupUnrefType">
<xs:complexContent>
<xs:extension base="fixr:elementUnrefType"/>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="componentUnrefType">
<xs:complexContent>
<xs:extension base="fixr:elementUnrefType"/>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="fieldRuleType">
<xs:sequence>
<xs:sequence>
Expand Down Expand Up @@ -595,9 +610,9 @@
<xs:element name="componentRef" type="fixr:componentRefType"/>
<xs:element name="groupRef" type="fixr:groupRefType"/>
<xs:element name="fieldRef" type="fixr:fieldRefType"/>
<xs:element name="componentUnref" type="fixr:elementUnrefType"/>
<xs:element name="groupUnref" type="fixr:elementUnrefType"/>
<xs:element name="fieldUnref" type="fixr:elementUnrefType"/>
<xs:element name="componentUnref" type="fixr:componentUnrefType"/>
<xs:element name="groupUnref" type="fixr:groupUnrefType"/>
<xs:element name="fieldUnref" type="fixr:fieldUnrefType"/>
</xs:choice>
<xs:element name="annotation" type="fixr:annotation" minOccurs="0"/>
</xs:sequence>
Expand Down Expand Up @@ -759,9 +774,9 @@
<xs:element name="componentRef" type="fixr:componentRefType"/>
<xs:element name="groupRef" type="fixr:groupRefType"/>
<xs:element name="fieldRef" type="fixr:fieldRefType"/>
<xs:element name="componentUnref" type="fixr:elementUnrefType"/>
<xs:element name="groupUnref" type="fixr:elementUnrefType"/>
<xs:element name="fieldUnref" type="fixr:elementUnrefType"/>
<xs:element name="componentUnref" type="fixr:componentUnrefType"/>
<xs:element name="groupUnref" type="fixr:groupUnrefType"/>
<xs:element name="fieldUnref" type="fixr:fieldUnrefType"/>
</xs:choice>
<xs:attribute name="which" type="fixr:memberType"/>
</xs:complexType>
Expand Down

0 comments on commit 9b3eea1

Please sign in to comment.