From c3fb1efddcfc4046ca28341dce7183a3b42df1dc Mon Sep 17 00:00:00 2001 From: Christophe Duquesne Date: Thu, 5 Mar 2026 11:57:10 +0100 Subject: [PATCH] Buggy SIRI import fix The SIRI import is probably coming from a SIRI copy/paste since the NeTEx occupancy is following the SIRI one. The NaturalLanguageStringStructure is not NeTEx type, and is only used in this file, and doesn't follow NeTEx style/rules The SIRI import is crashing some generic NeTEx (and SIRI) import in some implementation (one of them being OpRa). The reason for this crash is difficult to analyse (and depending on the validation engine), but basically related to object redefinition. As a result this import was a useless and dangerous breaking change and has to be removed. --- .../part2_occupancy/netex_oc_occupancy_version.xsd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xsd/netex_part_2/part2_occupancy/netex_oc_occupancy_version.xsd b/xsd/netex_part_2/part2_occupancy/netex_oc_occupancy_version.xsd index a4a1b8a68..fa5e00438 100644 --- a/xsd/netex_part_2/part2_occupancy/netex_oc_occupancy_version.xsd +++ b/xsd/netex_part_2/part2_occupancy/netex_oc_occupancy_version.xsd @@ -7,7 +7,6 @@ - The intersection of supplied elements describes the extent that the Occupancy values applies to. (since SIRI 2.1) @@ -20,7 +19,7 @@ Only vehicle-centric filter (measurement in a part or at an entrance of a TRAIN) Fare class in VEHICLE for which occupancy or capacities are specified. - + Adult, child, wheelchair etc. @@ -90,7 +89,7 @@ More accurate data can be provided by the individual occupancies or capacities b Used to specify that a travel group has booked a section of the vehicle for a part of the journey, and if so under what name. (since SIRI 2.1) - + Name for which the travel group has made the reservation.