Skip to content

Commit 74b4cd9

Browse files
authored
Added prefix / namespace to references in fields of unique elements (#837)
* Update netex_datedVehicleJourney_version.xsd Updated annotation Removed UicOperatingPeriod Added JourneyRef Added replacedJourneys and DatedServiceJourneyRef Made OperatingDayRef mandatory * Update netex_datedVehicleJourney_version.xsd Changed sequence, mandatory elements first * added prefix/ namespace Added prefixes / namespace in xpath references that did not trigger correctly in validators * Delete netex_datedVehicleJourney_version.xsd * Create netex_datedVehicleJourney_version.xsd
1 parent 9e2d63c commit 74b4cd9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

xsd/NeTEx_publication.xsd

+2-2
Original file line numberDiff line numberDiff line change
@@ -3378,7 +3378,7 @@
33783378
<xsd:documentation>Each date is only allowed once per calendar.</xsd:documentation>
33793379
</xsd:annotation>
33803380
<xsd:selector xpath=".//netex:ServiceCalendarFrame/netex:operatingDays/netex:OperatingDay"/>
3381-
<xsd:field xpath="CalendarDate"/>
3381+
<xsd:field xpath="netex:CalendarDate"/>
33823382
<xsd:field xpath="@version"/>
33833383
</xsd:unique>
33843384
<!-- =====OperatingDay Key ========================== -->
@@ -3528,7 +3528,7 @@
35283528
<xsd:documentation>Every [RegistrationNumber Id + Version] must be unique within document.</xsd:documentation>
35293529
</xsd:annotation>
35303530
<xsd:selector xpath=".//netex:Vehicle"/>
3531-
<xsd:field xpath="RegistrationNumber"/>
3531+
<xsd:field xpath="netex:RegistrationNumber"/>
35323532
<xsd:field xpath="@version"/>
35333533
</xsd:unique>
35343534
<!-- =====Vehicle Key ========================== -->

xsd/NeTEx_publication_timetable.xsd

+2-2
Original file line numberDiff line numberDiff line change
@@ -2711,7 +2711,7 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
27112711
<xsd:documentation>Each date is only allowed once per calendar.</xsd:documentation>
27122712
</xsd:annotation>
27132713
<xsd:selector xpath=".//netex:ServiceCalendarFrame/netex:operatingDays/netex:OperatingDay"/>
2714-
<xsd:field xpath="CalendarDate"/>
2714+
<xsd:field xpath="netex:CalendarDate"/>
27152715
<xsd:field xpath="@version"/>
27162716
</xsd:unique>
27172717
<!-- =====OperatingDay Key ========================== -->
@@ -2861,7 +2861,7 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
28612861
<xsd:documentation>Every [RegistrationNumber Id + Version] must be unique within document.</xsd:documentation>
28622862
</xsd:annotation>
28632863
<xsd:selector xpath=".//netex:Vehicle"/>
2864-
<xsd:field xpath="RegistrationNumber"/>
2864+
<xsd:field xpath="netex:RegistrationNumber"/>
28652865
<xsd:field xpath="@version"/>
28662866
</xsd:unique>
28672867
<!-- =====Vehicle Key ========================== -->

0 commit comments

Comments
 (0)