| [railML3] Separate description from name [message #4094] |
Thu, 13 August 2026 15:53  |
Thomas Nygreen
Messages: 138 Registered: March 2008
|
Senior Member |
|
|
Dear all,
Currently, the <name> element has an attribute description, which can be used to describe the parent element. As it is an attribute of the <name> element, it can be interpreted as being a description of the name, but that is not normally the case. The name attribute is also required, meaning that if you need to provide a description for an element that does not have a name (or does not have a name in the same language as the description) the only possibility is to include an empty name value: <name language="en" description="This element is very nice" name=""/>
We have identified two possible improvements:
1) Make a new description element, with attributes language and description
2) Keep description in <name>, but make the name attribute optional
Please let us know what you think!
Best regards,
Thomas
Thomas Nygreen – Common Schema Coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
|
|
|
|
|
|
|
|