From a33818e33abd1c6eab4663f78e1f79ec2bb346e4 Mon Sep 17 00:00:00 2001 From: Stefan de Konink Date: Mon, 10 Jul 2023 17:18:48 +0200 Subject: [PATCH 1/4] Remove all abstract elements from constraint validation --- xsd/NeTEx_publication.xsd | 101 +++----------------------- xsd/NeTEx_publication_timetable.xsd | 106 +++------------------------- 2 files changed, 18 insertions(+), 189 deletions(-) diff --git a/xsd/NeTEx_publication.xsd b/xsd/NeTEx_publication.xsd index 36295f6d9..7acafd9aa 100644 --- a/xsd/NeTEx_publication.xsd +++ b/xsd/NeTEx_publication.xsd @@ -317,27 +317,6 @@ Correct COnstraints for PointOnRoute - - - - - Every [ResponsibilityRole Id + Version] must be unique within document. - - - - - - - - - - - - - - - - @@ -419,28 +398,6 @@ Correct COnstraints for PointOnRoute - - - - - Every [TypeOfEntity Id + TypeOfEntity] must be unique within document. - - - - - - - - - - - - - - - - - @@ -945,7 +902,7 @@ Correct COnstraints for PointOnRoute - + @@ -983,7 +940,7 @@ Correct COnstraints for PointOnRoute - + @@ -1125,7 +1082,7 @@ Correct COnstraints for PointOnRoute - + @@ -1298,17 +1255,6 @@ Correct COnstraints for PointOnRoute - - - - - - - - - - - @@ -3400,7 +3346,7 @@ Correct COnstraints for PointOnRoute - + --> @@ -5156,7 +5102,7 @@ Correct COnstraints for PointOnRoute - + @@ -5168,7 +5114,7 @@ Correct COnstraints for PointOnRoute - + @@ -6887,15 +6833,6 @@ Correct COnstraints for PointOnRoute - - - Every [Journey Id + Version] must be unique within document. - - - - - - Every [VehicleJourney Id + Version] must be unique within document. @@ -6930,7 +6867,7 @@ Correct COnstraints for PointOnRoute - + @@ -7180,15 +7117,6 @@ Correct COnstraints for PointOnRoute - - - - Every [JourneyFrequencyGroup Id + Version] must be unique within document. - - - - - @@ -8193,19 +8121,6 @@ Correct COnstraints for PointOnRoute - - - - - - - - - - - - - @@ -8430,7 +8345,7 @@ Correct COnstraints for PointOnRoute - + diff --git a/xsd/NeTEx_publication_timetable.xsd b/xsd/NeTEx_publication_timetable.xsd index 1183256df..6cb5a5242 100644 --- a/xsd/NeTEx_publication_timetable.xsd +++ b/xsd/NeTEx_publication_timetable.xsd @@ -230,27 +230,6 @@ Provides a general purose wrapper for NeTEx data content. - - - - - Every [ResponsibilityRole Id + Version] must be unique within document. - - - - - - - - - - - - - - - - @@ -342,12 +321,6 @@ Provides a general purose wrapper for NeTEx data content. - - - - - - @@ -817,7 +790,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -855,7 +828,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -984,7 +957,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -1178,17 +1151,6 @@ Provides a general purose wrapper for NeTEx data content. - - - - - - - - - - - @@ -1259,7 +1221,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -1646,15 +1608,6 @@ Provides a general purose wrapper for NeTEx data content. - - - - Every [Equipment Id + Version] must be unique within document. - - - - - @@ -1662,7 +1615,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -1750,17 +1703,6 @@ Provides a general purose wrapper for NeTEx data content. - - - - - - - - - - - @@ -2297,16 +2239,6 @@ Provides a general purose wrapper for NeTEx data content. - - - - - Every [LocalService Id + Version] must be unique within document. - - - - - @@ -2314,7 +2246,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -2836,7 +2768,7 @@ Provides a general purose wrapper for NeTEx data content. - + --> @@ -3984,7 +3916,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -3996,7 +3928,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -5560,15 +5492,6 @@ Provides a general purose wrapper for NeTEx data content. - - - Every [Journey Id + Version] must be unique within document. - - - - - - Every [VehicleJourney Id + Version] must be unique within document. @@ -5603,7 +5526,7 @@ Provides a general purose wrapper for NeTEx data content. - + @@ -5745,15 +5668,6 @@ Provides a general purose wrapper for NeTEx data content. - - - - Every [JourneyFrequencyGroup Id + Version] must be unique within document. - - - - - From 4393cb262d9ec707339e06c50aa0df50c8c87af6 Mon Sep 17 00:00:00 2001 From: Stefan de Konink Date: Wed, 1 May 2024 17:24:21 +0200 Subject: [PATCH 2/4] Make ResposibilityRole not abstract, and revert constraint check removal --- xsd/NeTEx_publication.xsd | 21 +++++++++++++++++++ xsd/NeTEx_publication_timetable.xsd | 21 +++++++++++++++++++ .../netex_responsibilitySet_version.xsd | 2 +- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/xsd/NeTEx_publication.xsd b/xsd/NeTEx_publication.xsd index 7acafd9aa..18cde5a3f 100644 --- a/xsd/NeTEx_publication.xsd +++ b/xsd/NeTEx_publication.xsd @@ -317,6 +317,27 @@ Correct COnstraints for PointOnRoute + + + + + Every [ResponsibilityRole Id + Version] must be unique within document. + + + + + + + + + + + + + + + + diff --git a/xsd/NeTEx_publication_timetable.xsd b/xsd/NeTEx_publication_timetable.xsd index 6cb5a5242..ac71b75ef 100644 --- a/xsd/NeTEx_publication_timetable.xsd +++ b/xsd/NeTEx_publication_timetable.xsd @@ -230,6 +230,27 @@ Provides a general purose wrapper for NeTEx data content. + + + + + Every [ResponsibilityRole Id + Version] must be unique within document. + + + + + + + + + + + + + + + + diff --git a/xsd/netex_framework/netex_responsibility/netex_responsibilitySet_version.xsd b/xsd/netex_framework/netex_responsibility/netex_responsibilitySet_version.xsd index a72b6bcb4..b97f93ead 100644 --- a/xsd/netex_framework/netex_responsibility/netex_responsibilitySet_version.xsd +++ b/xsd/netex_framework/netex_responsibility/netex_responsibilitySet_version.xsd @@ -177,7 +177,7 @@ Rail transport, Roads and Road transport - + A particular role an ORGANISATION or an ORGANISATION PART is playing. +v1.1 From 44ebd6763c409ba93446ae66888547eb6f6e7814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Wed, 1 May 2024 17:28:41 +0200 Subject: [PATCH 3/4] Update NeTEx_publication.xsd --- xsd/NeTEx_publication.xsd | 40 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/xsd/NeTEx_publication.xsd b/xsd/NeTEx_publication.xsd index 18cde5a3f..8336e803a 100644 --- a/xsd/NeTEx_publication.xsd +++ b/xsd/NeTEx_publication.xsd @@ -318,26 +318,26 @@ Correct COnstraints for PointOnRoute - - - - Every [ResponsibilityRole Id + Version] must be unique within document. - - - - - - - - - - - - - - - - + + + + Every [ResponsibilityRole Id + Version] must be unique within document. + + + + + + + + + + + + + + + + From 9dbe33cac7a6bd8f7f994734e5eea90a845b4288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Wed, 1 May 2024 17:29:50 +0200 Subject: [PATCH 4/4] Update NeTEx_publication_timetable.xsd --- xsd/NeTEx_publication_timetable.xsd | 40 ++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/xsd/NeTEx_publication_timetable.xsd b/xsd/NeTEx_publication_timetable.xsd index ac71b75ef..01c68f809 100644 --- a/xsd/NeTEx_publication_timetable.xsd +++ b/xsd/NeTEx_publication_timetable.xsd @@ -231,26 +231,26 @@ Provides a general purose wrapper for NeTEx data content. - - - - Every [ResponsibilityRole Id + Version] must be unique within document. - - - - - - - - - - - - - - - - + + + + Every [ResponsibilityRole Id + Version] must be unique within document. + + + + + + + + + + + + + + + +