Skip to content

Replace NaturalLanguagePlaceNameStructure as type of origin and destination elements#176

Merged
haeckerbaer merged 4 commits intointegrationfrom
replace-string-type-of-origin-destination-elements
Oct 27, 2025
Merged

Replace NaturalLanguagePlaceNameStructure as type of origin and destination elements#176
haeckerbaer merged 4 commits intointegrationfrom
replace-string-type-of-origin-destination-elements

Conversation

@haeckerbaer
Copy link
Collaborator

@haeckerbaer haeckerbaer commented Sep 23, 2025

NaturalLanguagePlaceNameStructure is too restrictive and therefore not usable in regions where stop names often contain commas. Also, in some instances the same or similar elements in other service specifications already uses a different type NaturalLanguageStringStructure which is conflicting.

The pull request aimes to harmonize all of these related elements for declaration of origin/destination and extends the allowed characters accordingly.

Alternatively, or additionally, an update of the underlying PopulatedStringType is proposed (to remove comma in the pattern restriction):
<xsd:restriction base="PopulatedStringType">
<xsd:pattern value="[^\[\]\{\}\?$%\^=@#;:]+"/>
</xsd:restriction>

@haeckerbaer haeckerbaer modified the milestones: v2.2, v2.3 Sep 24, 2025
@TuThoThai TuThoThai added Needs CEN documentation Update These require CEN documentation update to match XSD & examples and removed needs documentation update labels Sep 24, 2025
@haeckerbaer haeckerbaer merged commit ba2fb89 into integration Oct 27, 2025
@TuThoThai TuThoThai deleted the replace-string-type-of-origin-destination-elements branch October 30, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Needs CEN documentation Update These require CEN documentation update to match XSD & examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants