| [railML3] Remove @version attribute from root [message #3996] |
Thu, 07 May 2026 14:45  |
Larissa Zhuchyi
Messages: 104 Registered: November 2022
|
Senior Member |
|
|
Dear all
The header of railML3 file as of version 3.3 looks the following way:
<railML xmlns="https://www.railml.org/schemas/3.3"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:gml4rail3="https://www.railml.org/schemas/3.3/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="3.3"
xsi:schemaLocation="https://www.railml.org/schemas/3.3
https://www.railml.org/schemas/3.3/railml3.xsd">
The version of railML can be derived from default namespace, schema location and attribute @version.
railML/@version is rather redundant and error prone since decision to include railML version in namespace. Therefore, since December 2025 there is semantic constraint CO:001 preventing inconsistensies "@version shall correspond to the specified namespace of the <railML> element" announced at https://www.railml.org/forum/index.php?t=msg&th=1101.
With this forum post railML.org suggests removing @version because as mentioned above it is redundant and error prone. Issue for railML 3.4 is filed under https://development.railml.org/railml/version3/-/issues/688.
Please let us know till 2026-06-07 if removal of @version from root would complicate usage of railML 3.4 for you.
Thanks!
Sincerely,
Larissa Zhuchyi – Ontology Researcher
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
[Updated on: Thu, 07 May 2026 16:12] Report message to a moderator
|
|
|
|
|
|