Skip to content

Commit

Permalink
removing xpath to non-defined objects (#663)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Günter <[email protected]>
  • Loading branch information
skinkie and ue71603 authored Mar 19, 2024
1 parent 183bd72 commit 533dfaf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions xsd/NeTEx_publication.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ Correct COnstraints for PointOnRoute
<xsd:field xpath="@version"/>
</xsd:keyref>
<xsd:key name="LinkSequence_AnyVersionedKey">
<xsd:selector xpath=".//netex:Route | .//netex:JourneyPattern | .//netex:TimingPattern | .//netex:ServicePattern | .//netex:ServiceJourneyPattern | .//netex:DeadRunServicePattern | .//netex:NavigationPath"/>
<xsd:selector xpath=".//netex:Route | .//netex:JourneyPattern | .//netex:TimingPattern | .//netex:ServicePattern | .//netex:ServiceJourneyPattern | .//netex:NavigationPath"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:key>
Expand Down Expand Up @@ -6695,18 +6695,18 @@ Correct COnstraints for PointOnRoute
<xsd:annotation>
<xsd:documentation>Every [ServicePattern Id + Version] must be unique within document.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath=".//netex:ServicePattern | .//netex:DeadRunPattern"/>
<xsd:selector xpath=".//netex:ServicePattern"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:unique>
<!-- =====ServicePattern Key ========================== -->
<xsd:keyref name="ServicePattern_KeyRef" refer="netex:ServicePattern_AnyVersionedKey">
<xsd:selector xpath=".//netex:ServicePatternRef | .//netex:DeadRunServicePatternRef"/>
<xsd:selector xpath=".//netex:ServicePatternRef"/>
<xsd:field xpath="@ref"/>
<xsd:field xpath="@version"/>
</xsd:keyref>
<xsd:key name="ServicePattern_AnyVersionedKey">
<xsd:selector xpath=".//netex:ServicePattern | .//netex:DeadRunPattern"/>
<xsd:selector xpath=".//netex:ServicePattern"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:key>
Expand Down
8 changes: 4 additions & 4 deletions xsd/NeTEx_publication_timetable.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
<xsd:field xpath="@version"/>
</xsd:keyref>
<xsd:key name="LinkSequence_AnyVersionedKey">
<xsd:selector xpath=".//netex:Route | .//netex:JourneyPattern | .//netex:TimingPattern | .//netex:ServicePattern | .//netex:ServiceJourneyPattern | .//netex:DeadRunServicePattern | .//netex:NavigationPath"/>
<xsd:selector xpath=".//netex:Route | .//netex:JourneyPattern | .//netex:TimingPattern | .//netex:ServicePattern | .//netex:ServiceJourneyPattern | .//netex:NavigationPath"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:key>
Expand Down Expand Up @@ -5329,18 +5329,18 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
<xsd:annotation>
<xsd:documentation>Every [ServicePattern Id + Version] must be unique within document.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath=".//netex:ServicePattern |.//netex:DeadRunPattern"/>
<xsd:selector xpath=".//netex:ServicePattern"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:unique>
<!-- =====ServicePattern Key ========================== -->
<xsd:keyref name="ServicePattern_KeyRef" refer="netex:ServicePattern_AnyVersionedKey">
<xsd:selector xpath=".//netex:ServicePatternRef | .//netex:DeadRunServicePatternRef"/>
<xsd:selector xpath=".//netex:ServicePatternRef"/>
<xsd:field xpath="@ref"/>
<xsd:field xpath="@version"/>
</xsd:keyref>
<xsd:key name="ServicePattern_AnyVersionedKey">
<xsd:selector xpath=".//netex:ServicePattern |.//netex:DeadRunPattern"/>
<xsd:selector xpath=".//netex:ServicePattern"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:key>
Expand Down

0 comments on commit 533dfaf

Please sign in to comment.