Home » railML newsgroups » railml.common » [railML3] Remove @version attribute from root
[railML3] Remove @version attribute from root [message #3996] Thu, 07 May 2026 14:45 Go to next message
Larissa Zhuchyi is currently offline  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

Re: [railML3] Remove @version attribute from root [message #3998 is a reply to message #3996] Thu, 07 May 2026 21:22 Go to previous message
Mathias Vanden Auweele is currently offline  Mathias Vanden Auweele
Messages: 129
Registered: February 2025
Location: Brussels
Senior Member
Hello Larissa, I agree with your proposal

Mathias Vanden Auweele
Railway data freelancer
https://matdata.eu
Brussels, Belgium
Previous Topic: [Ontology v0.6] wrong range for hasElement?
Next Topic: [Ontology v0.6] IntrinsicCoordinate & GeometricCoordinate vs GeoSPARQL
Goto Forum:
  


Current Time: Wed Jun 17 06:39:01 CEST 2026