VehicleMeetingPointInPath does not have unique constraint checking
Closed this issue · 4 comments
skinkie commented
Failing example NewModes-CarPoolingExample.xml
ue71603 commented
@skinkie what is the problem? Isn't it done in NeTEx_publication.xsd:
<!-- =====VehicleMeetingPointInPath========================== -->
<!-- =====VehicleMeetingPointInPath unique========================== -->
<xsd:unique name="VehicleMeetingPointInPath_UniqueBy_Id_Version_Order">
<xsd:annotation>
<xsd:documentation>Every [VehicleMeetingPointInPath Id + Version + order] must be unique within document.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath=".//netex:VehicleMeetingPointInPath"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
<xsd:field xpath="@order"/>
</xsd:unique>
<!-- =====VehicleMeetingPointInPath Key ========================== -->
<xsd:keyref name="VehicleMeetingPointInPath_KeyRef" refer="netex:VehicleMeetingPointInPath_AnyVersionedKey_ordered">
<xsd:selector xpath=".//netex:VehicleMeetingPointInPathRef | .//netex:PointInSingleJourneyPathRef"/>
<xsd:field xpath="@ref"/>
<xsd:field xpath="@version"/>
<xsd:field xpath="@order"/>
</xsd:keyref>
<xsd:key name="VehicleMeetingPointInPath_AnyVersionedKey_ordered">
<xsd:selector xpath=".//netex:VehicleMeetingPointInPath"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
<xsd:field xpath="@order"/>
</xsd:key>
skinkie commented
Yes, we can close another ticket as well.