Home » railML newsgroups » railML.infrastructure » [railML3] rail3:netElement.relation seems useless
Re: [railML3] rail3:netElement.relation seems useless [message #2830 is a reply to message #2827] Thu, 16 September 2021 21:36 Go to previous messageGo to previous message
christian.rahmig is currently offline  christian.rahmig
Messages: 436
Registered: January 2016
Senior Member
Dear Raphael,

thank you for your post and welcome to the railML forum. You are absolutely right with noticing that the (optional) reference from the NetElement to the NetRelation is redundant to the (mandatory) reference from the NetRelation to the NetElement. However, fundamental RailTopoModel (RTM) that railML 3.x is based on, contains both references in the model.

Your remark, that this redundancy may cause conflicts, is correct. I suggest the following solution: In order to stay compliant with RTM, we leave the syntax as it is with a (mandatory) reference from the NetRelation to the NetElement and an (optional) reference from the NetElement to the NetRelation. But, as we do not want to have the optional references, we document them as being DEPRECATED and not to be used in order to avoid potential inconsistencies.

This is a proposal and I am eager to hear other opinions from the community...

Thank you very much and best regards
Christian


Christian Rahmig – Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
 
Read Message
Read Message
Read Message
Previous Topic: [railML2] extension suggestion for the element <state> for working zones
Next Topic: [railML3] InfrastructureVisualization
Goto Forum:
  


Current Time: Wed May 01 19:12:07 CEST 2024