Skip to content

Fix-Buggy SIRI import in occupancy#1001

Merged
TuThoThai merged 1 commit intoTransmodelEcosystem:v2.0from
Aurige:v2.0-Occupancy-Fix
Mar 5, 2026
Merged

Fix-Buggy SIRI import in occupancy#1001
TuThoThai merged 1 commit intoTransmodelEcosystem:v2.0from
Aurige:v2.0-Occupancy-Fix

Conversation

@Aurige
Copy link
Copy Markdown
Contributor

@Aurige Aurige commented Mar 5, 2026

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. It's replaced with the more "traditional" MultilingualString

The SIRI import is crashing some generic NeTEx import (especially if SIRI is also used) in some implementation (one of them being OpRa). The reason for this crash is difficult to analyse (and is partially depending on the validation engine), but is basically related to object redefinition. As a result this import was a useless and dangerous breaking change and has to be removed.

The SIRI import was there only to allow the use of NaturalLanguageStringStructure and can just be removed.

This is a fix 100% backward compatible at XML Level

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.
@Aurige Aurige requested review from TuThoThai, thbar and ue71603 March 5, 2026 11:17
@Aurige Aurige added the bug Technical mistake, inconsistency with the documentation, etc. label Mar 5, 2026
@ue71603
Copy link
Copy Markdown
Contributor

ue71603 commented Mar 5, 2026

wow @Aurige using language reserved to @skinkie ;-)

Copy link
Copy Markdown
Contributor

@thbar thbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I didn't see other similar references.

@TuThoThai TuThoThai merged commit f0f698b into TransmodelEcosystem:v2.0 Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Technical mistake, inconsistency with the documentation, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants