NeTEx-CEN / NeTEx

NeTEx is a CEN Technical Standard for exchanging Public Transport schedules and related data.
http://netex-cen.eu
GNU General Public License v3.0
78 stars 39 forks source link

JourneyPart #78

Closed janosu closed 4 years ago

janosu commented 4 years ago

In the JourneyPart_VersionStructure type defined in the netex_coupledJourney_version.xsd file, the MainPartRef is JourneyPartCoupleRefStructure instead of JourneyPartRefStructure. In all examples of the standard, these references are filled with the JourneyPart reference, while the member description in the documentation contains the JourneyPartCouple reference (probably the documentation was generated from the annotation in xsd). The MainPartRef element is mandatory.

Aurige commented 4 years ago

Yes, you are right, that should be corrected, however, luckily, that does not harm since both JourneyPartCoupleRefStructure and JourneyPartRefStructure are in the VersionOfObjectRef substitution group

janosu commented 4 years ago

I checked the latest version the error still exists. The JourneyPart.MainPartRef type is JourneyPartCoupleRefStructure instead of JourneyPartRefStructure.

nick-knowles commented 4 years ago

I have submitted a fix for this