Home » railML newsgroups » railML.infrastructure » [railML3 wiki] opEquipment
[railML3 wiki] opEquipment [message #3677] Mon, 28 July 2025 09:53 Go to next message
Mathias Vanden Auweele is currently offline  Mathias Vanden Auweele
Messages: 104
Registered: February 2025
Location: Brussels
Senior Member
Hello,

The wiki documentation on this website: https://wiki3.railml.org/wiki/IS:opEquipment#3.3-0
lists the child elements of opEquipment in this order: ownsInfrastructureElement (0..*), ownsPlatform (0..*), ownsServiceSection (0..*), ownsSignal (0..*), ownsStoppingPlace (0..*), ownsTrack (0..*)

However, the xsd lists it in this order: ownsPlatform, ownsTrack, ownsSignal, ownsStoppingPlace, ownsServiceSection, ownsInfrastructureElement

Since the xsd defines lists of child elements always as a xs:sequence, it's important to respect the correct order, else there are validation issues against the XSD.

I'm not sure if it's a requirement but it's so aligned that I suspect the wiki is meant to also publish the order of children. And it seems to be always in alphabetic order.

Or I could be wrong? :)


Mathias Vanden Auweele
Railway data freelancer
https://matdata.eu
Brussels, Belgium
Re: [railML3 wiki] opEquipment [message #3692 is a reply to message #3677] Mon, 11 August 2025 13:26 Go to previous messageGo to next message
christian.rahmig is currently offline  christian.rahmig
Messages: 539
Registered: January 2016
Senior Member
Dear Mathias,

you are right, the order of elements in a sequence is important and the correct order can be found in the XSD.
The part of the wiki page https://wiki3.railml.org/wiki/IS:opEquipment#3.3-0 that you are referring to, is not written manually, but is generated from the XSD. Therefore, it seems that our wiki generation toolchain has still some potential for improvements.
Until this has been changed, I can only recommend to have a look inside the schema documentation (HTML file) to verify the correct order of child elements in a sequence.

We will have a look at this topic based on the ticket [1] I created for this.

[1] https://development.railml.org/railml/version3/-/issues/657

Best regards
Christian



Christian Rahmig – Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Re: [railML3 wiki] opEquipment [message #3951 is a reply to message #3677] Tue, 31 March 2026 15:06 Go to previous messageGo to next message
Larissa Zhuchyi is currently offline  Larissa Zhuchyi
Messages: 95
Registered: November 2022
Member
Dear Mathias,

your suggested change was implemented in wiki.

Sincerely,


Larissa Zhuchyi – Ontology Researcher
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Re: [railML3 wiki] opEquipment [message #3952 is a reply to message #3951] Wed, 01 April 2026 09:55 Go to previous message
Mathias Vanden Auweele is currently offline  Mathias Vanden Auweele
Messages: 104
Registered: February 2025
Location: Brussels
Senior Member
Thank you Larissa

Mathias Vanden Auweele
Railway data freelancer
https://matdata.eu
Brussels, Belgium
Previous Topic: Position of spotLocation and definition of length@value
Next Topic: suggestion for switchIS@type="crossingPart"
Goto Forum:
  


Current Time: Sun Apr 12 01:59:54 CEST 2026