Skip to content

Netex 2.0 mk ii#453

Draft
erlendnils1 wants to merge 7 commits intomainfrom
netex_2.0_mk_II
Draft

Netex 2.0 mk ii#453
erlendnils1 wants to merge 7 commits intomainfrom
netex_2.0_mk_II

Conversation

@erlendnils1
Copy link
Copy Markdown
Contributor

@erlendnils1 erlendnils1 commented Apr 17, 2026

Based on CEN 2.0 version.

Changes in xslt:

  • Removed deprecated legacy enum values starting with upper case from StakeholderRoleTypeEnumeration. These have been replaced with ordinary camel cased values (planning instead of Planning etc) but are kept in the xsd for backwards compatibility. Enum values with only casing differences produce same proto field names and creates a mess here. Opted to remove the old fields and update the proto lock to use the old field numbers for the new lower case values.

  • modification + versionRef attributes. These have been removed and reserved from all VersionOfObjectRefStructures, including subclasses. Due to changes in xsds where the attributes are now added directly to each subtype the xslt templates had to be updated similarly.

Manual fixes in proto lock:

Enum spelling mistakes fixed:
MachineReadableEnumeration.qrcode - qrCode (CEN)
MachineReadableEnumeration.apn anpr (CEN)
LightingMethodEnumeration.stepingDetector steppingDetector (CEN)

@erlendnils1 erlendnils1 mentioned this pull request Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant