How to deal with UUIDs
Background:
railML3.2 has id attribute as union of XML id and UUID. This creates issues for type recognition, interpretation during import, XML validation and code generation.
Proposed solution:
create a new UUID attribute
- Remove UUIDs from the tID and tRef types.
- Create a new entry in Registers.xml to include UUID as a designator.
- Ensure that all relevant entities offer
<designator>
- Avoid required elements and attributes as siblings to
<designator>
, to enable elements that are empty husks only containingid
and<designator>
Links:
- https://www.railml.org/en/event-reader/44th-railml-conference-rome.html?file=files/download/events/conferences/railml_44th_Rome/2023-11-08_railML_Nygreen_CommonNewsAndQuestions.pdf&cid=11491
- https://www.railml.org/forum/index.php?t=msg&goto=3045
- https://www.railml.org/forum/index.php?t=msg&goto=2203
- https://www.railml.org/forum/index.php?t=msg&goto=1315
- https://www.railml.org/forum/index.php?t=msg&goto=3280&#msg_3280