Skip to content

Commit

Permalink
Fix EPIAP example
Browse files Browse the repository at this point in the history
I got the following error due versionRef between some elements were different. In my perspective this might actually show an actual bug. For now I resolve it.

element OperatorRef: Schemas validity error : Element '{http://www.netex.org.uk/netex}OperatorRef', attribute 'ref': The XPath '@ref' of a field of keyref identity-constraint '{http://www.netex.org.uk/netex}Operator_KeyRef' evaluates to a node-set with more than one member.
  • Loading branch information
skinkie committed Nov 4, 2023
1 parent c6c3485 commit 00c5549
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
<AmountOfPriceUnitProduct id="ENT:school_carnet" version="1">
<Name lang="no">School transport with limited number of rides</Name>
<ChargingMomentType>beforeTravel</ChargingMomentType>
<OperatorRef versionRef="1.0" ref="ENT:bergen_muni"/>
<OperatorRef versionRef="EXTERNAl" ref="ENT:bergen_muni"/>
<GenericParameterAssignment id="ENT:school_carnet" version="1" order="1">
<FareStructureElementRef version="1" ref="ENT:school_carnet@conditions_of_sale"/>
</GenericParameterAssignment>
Expand Down Expand Up @@ -396,7 +396,7 @@
<validityParameters>
<StopPlaceRef versionRef="EXTERNAl" ref="NSR:123"/>
<ServiceJourneyRef versionRef="EXTERNAl" ref="ENT:ServiceJourney:12348"/>
<OperatorRef versionRef="1.0" ref="ENT:bergen_muni"/>
<OperatorRef versionRef="EXTERNAl" ref="ENT:bergen_muni"/>
</validityParameters>
</CustomerPurchaseParameterAssignment>
</validityParameterAssignments>
Expand All @@ -411,7 +411,7 @@
<validityParameters>
<StopPlaceRef versionRef="EXTERNAl" ref="NSR:123"/>
<ServiceJourneyRef versionRef="EXTERNAl" ref="ENT:ServiceJourney:12347"/>
<OperatorRef versionRef="1.0" ref="ENT:bergen_muni"/>
<OperatorRef versionRef="EXTERNAl" ref="ENT:bergen_muni"/>
</validityParameters>
</CustomerPurchaseParameterAssignment>
</validityParameterAssignments>
Expand Down Expand Up @@ -440,7 +440,7 @@
<validityParameters>
<StopPlaceRef versionRef="EXTERNAl" ref="NSR:891"/>
<ServiceJourneyRef versionRef="EXTERNAl" ref="ENT:ServiceJourney:123455438"/>
<OperatorRef versionRef="1.0" ref="ENT:bergen_muni"/>
<OperatorRef versionRef="EXTERNAl" ref="ENT:bergen_muni"/>
</validityParameters>
</CustomerPurchaseParameterAssignment>
</validityParameterAssignments>
Expand All @@ -455,7 +455,7 @@
<validityParameters>
<StopPlaceRef versionRef="EXTERNAl" ref="NSR:891"/>
<ServiceJourneyRef versionRef="EXTERNAl" ref="ENT:ServiceJourney:123455438"/>
<OperatorRef versionRef="1.0" ref="ENT:bergen_muni"/>
<OperatorRef versionRef="EXTERNAl" ref="ENT:bergen_muni"/>
</validityParameters>
</CustomerPurchaseParameterAssignment>
</validityParameterAssignments>
Expand Down

0 comments on commit 00c5549

Please sign in to comment.