Home » railML newsgroups » railML.infrastructure » [railML3] XML-IDs for linearLocation and areaLocation
[railML3] XML-IDs for linearLocation and areaLocation [message #3847] Wed, 17 December 2025 18:02 Go to next message
Milan Wölke is currently offline  Milan Wölke
Messages: 213
Registered: April 2007
Senior Member
Hi all,

in one of our last modelling meetings among the coordinators we discussed the issue of having ids for elements that are not referenced in railML. Most prominent examples would be <linearLocation> and <areaLocation> (<spotLocation> actually is referenced from <mileageChange>, in case you are wondering).

The @id attributes have been added there because:
* the was a formal modelling guideline in earlier versions of railML 3 that mandated that all elements should have an @id attribute not matter if used or not.
* the RTM, the infrastructure is based upon defines ids for these classes.

The modelling guideline seems a bit outdated given that the @ids in question are simple XML-ID which cannot be relied on outside the enclosing XML document.
Regarding RTM, one could argue that the ids should also be removed in the RTM as the id member for these classes that are clearly part of a composition does not serve any purpose.

I am writing you because I am interested in your opinion on the two resulting questions:

* Should this modelling guideline still be followed, or better yet, if so be enforced (would lead to many many @id attribute, all mandatory)?

* How about elements that have an @id element due to their origin in the RTM? Keep the @id? Remove it in railML? Remove it in the RTM as well?

Let us know your view? Do you see any purpose for these @ids? Looking forward to you replies.

Thanks in advance.

Best regards, Milan


Milan Hoffmann – Timetable schema coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Re: [railML3] XML-IDs for linearLocation and areaLocation [message #3863 is a reply to message #3847] Thu, 08 January 2026 15:57 Go to previous message
Mathias Vanden Auweele is currently offline  Mathias Vanden Auweele
Messages: 86
Registered: February 2025
Location: Brussels
Member
I've opened another topic about identifiers here: https://www.railml.org/forum/index.php?t=msg&th=1109& ;start=0&

Mathias Vanden Auweele
Railway data freelancer
https://matdata.eu
Brussels, Belgium
Previous Topic: [railML3] Transporting dangerous goods
Next Topic: [railML3] Train detection elements
Goto Forum:
  


Current Time: Mon Feb 09 08:47:52 CET 2026