Skip to content

Commit 8293f22

Browse files
committed
partial rollback
1 parent fcef9a7 commit 8293f22

3 files changed

Lines changed: 27 additions & 19 deletions

File tree

xsd/NeTEx_publication.xsd

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -389,23 +389,6 @@
389389
<xsd:field xpath="@id"/>
390390
<xsd:field xpath="@version"/>
391391
</xsd:key>
392-
<!-- =====KeyValuePair unique============================== -->
393-
<xsd:unique name="KeyValuePair">
394-
<xsd:annotation>
395-
<xsd:documentation>Every Key Value Pair must be unique.</xsd:documentation>
396-
</xsd:annotation>
397-
<xsd:selector xpath=".//netex:KeyValue"/>
398-
<xsd:field xpath="netex:Key"/>
399-
<xsd:field xpath="netex:Value"/>
400-
</xsd:unique>
401-
<!-- =====PrivateCodeType unique============================== -->
402-
<xsd:unique name="PrivateCodeType">
403-
<xsd:annotation>
404-
<xsd:documentation>Every PrivateCode type must be unique.</xsd:documentation>
405-
</xsd:annotation>
406-
<xsd:selector xpath=".//netex:PrivateCode"/>
407-
<xsd:field xpath="@type"/>
408-
</xsd:unique>
409392
<!-- =====ResponsibilityRole============================== -->
410393
<!-- =====ResponsibilityRole unique========================== -->
411394
<xsd:unique name="ResponsibilityRole_UniqueBy_Id_Version">
@@ -619,10 +602,10 @@
619602
</xsd:key>
620603
<!-- =====TypeOfValue unique========================== -->
621604
<xsd:unique name="TypeOfValue_Unique">
622-
<xsd:selector xpath=".//values/TypeOfValue"/>
605+
<xsd:selector xpath="values/TypeOfValue"/>
623606
<xsd:field xpath="@id"/>
624607
</xsd:unique>
625-
<!-- =====TypeOfValue Key========================== -->
608+
<!-- =====TypeOfValue Key========================== -->
626609
<xsd:key name="TypeOfValue_Key">
627610
<xsd:selector xpath=".//values/TypeOfValue"/>
628611
<xsd:field xpath="@id"/>

xsd/netex_framework/netex_responsibility/netex_responsibility_version.xsd

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,16 @@ Rail transport, Roads and Road transport
179179
<xsd:annotation>
180180
<xsd:documentation>A list of alternative Key values for an element.</xsd:documentation>
181181
</xsd:annotation>
182+
<!-- 1.02 correction ======================================= -->
183+
<xsd:unique name="KeyValuePair">
184+
<xsd:annotation>
185+
<xsd:documentation>Every Key Value Pair must be unique.</xsd:documentation>
186+
</xsd:annotation>
187+
<xsd:selector xpath=".//netex:KeyValue"/>
188+
<xsd:field xpath="netex:Key"/>
189+
<xsd:field xpath="netex:Value"/>
190+
</xsd:unique>
191+
<!-- END correction ======================================= -->
182192
</xsd:element>
183193
<xsd:complexType name="KeyListStructure">
184194
<xsd:annotation>
@@ -219,6 +229,13 @@ Rail transport, Roads and Road transport
219229
<xsd:annotation>
220230
<xsd:documentation>A list of private codes that uniquely identifiy the element. May be used for inter-operating with other (legacy) systems. +v2.0</xsd:documentation>
221231
</xsd:annotation>
232+
<xsd:unique name="PrivateCodeType">
233+
<xsd:annotation>
234+
<xsd:documentation>Every PrivateCode type must be unique.</xsd:documentation>
235+
</xsd:annotation>
236+
<xsd:selector xpath=".//netex:PrivateCode"/>
237+
<xsd:field xpath="@type"/>
238+
</xsd:unique>
222239
</xsd:element>
223240
<xsd:complexType name="PrivateCodesStructure">
224241
<xsd:annotation>

xsd/netex_framework/netex_responsibility/netex_typeOfValue_version.xsd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,14 @@ Rail transport, Roads and Road transport
176176
</xsd:restriction>
177177
</xsd:complexContent>
178178
</xsd:complexType>
179+
<xsd:unique name="TypeOfValue_Unique">
180+
<xsd:selector xpath="values/TypeOfValue"/>
181+
<xsd:field xpath="@id"/>
182+
</xsd:unique>
183+
<xsd:key name="TypeOfValue_Key">
184+
<xsd:selector xpath="values/TypeOfValue"/>
185+
<xsd:field xpath="@id"/>
186+
</xsd:key>
179187
</xsd:element>
180188
<xsd:complexType name="ValueSet_VersionStructure">
181189
<xsd:annotation>

0 commit comments

Comments
 (0)