Skip to content

Fix-Buggy SIRI import in occupancy#1001

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

Fix-Buggy SIRI import in occupancy#1001
TuThoThai merged 1 commit into
TransmodelEcosystem: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
TuThoThai added a commit that referenced this pull request May 8, 2026
* Fix faulty descriptions

Documentation changes in the XSD for `FreeRecharging`, `Cage`, `RemoteControl`, `LocalControl` and `LockingMechanism`

Refer to #999 for more details

* Buggy SIRI import fix (#1001)

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.

* Edit changelog and readme (#997)

* Update changelog

* Remove redundancy with readme
* Remove duplicates in the changelog details for v1.1.0
* Correct hierarchy of changelog for v1.0.9 and v1.0.8

* Delete change_log.md

Remove redundant file

* Fix link to CHANGELOG in README

* Rename 'Change log' to 'Changelog'

* Update README.md

Co-authored-by: Thibaut Barrère <thibaut.barrere@gmail.com>

* Update readme - typo (#1010)

Update typo in the name of elements in the repo

* Edit repo url after move + fix new org CI failures (#1015)

2 parts Pull Request

Part 1: Edit the repo URL in
- README.md
- CHANGELOG.md
- xsd/netex_part_1/part1_tacticalPlanning/netex_routingConstraint_version.xsd
The change was to replace "NeTEx-CEN" with "TransmodelEcosystem"

Part 2: Fix failing CI after moving the repo
- Test CI after org migration (#1018)
- Test: break indentation to trigger CI lint commit (#1018)
- Try to fix CI (#1018): grant write permissions to workflow token
- Lint and update documentation tables

---------

Co-authored-by: Thibaut Barrère <thibaut.barrere@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

* Add some logic to prevent #982 from happening again (#1022)

Ensure that 
- v2.1-wip branch is up to date from v2.0 before merging any PR
- v3.0-wip branch is up to date from v2.1-wip before merging any PR

---------

Co-authored-by: Stefan de Konink <stefan@konink.de>
Co-authored-by: Christophe Duquesne <christophe.duquesne@aurigetech.com>
Co-authored-by: Thibaut Barrère <thibaut.barrere@gmail.com>
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