CO:railml: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(attribute: description changed)
(added IS:017)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|elementName=CO:railml
|elementName=CO:railml
|parent=''none''
|parent=''none''
|childs={{CO:Tag|metadata}}, {{IS:Tag|infrastructure}}, {{RS:Tag|rollingstock}}, {{TT:Tag|timetable}}, {{IS:Tag|infrastructureVisualizations}} {{depr|2.1}}
|childs={{CO:Tag|metadata}}, {{IS:Tag|infrastructure}}, {{RS:Tag|rollingstock}}, {{TT:Tag|timetable}}, {{IS:Tag|infrastructureVisualizations}} {{depr|2.1}} {{Intro|2.4}}
|semantics=This is the {{rml}} root element.
|semantics=This is the {{rml}} root element.
|semcon={{semcon|1=<br>
either {{IS:Tag|infrastructure}} or {{CO:Tag|railml}} must have @version attribute<br />
Compare {{ticket|xxx}}
|status=approved|approved=2024-03-25|proposed=2024-03-25|forum=https://www.railml.org/forum
|id=IS:017}}
|inheritedAttributes=''None''
|inheritedAttributes=''None''
|ownAttributes=
|ownAttributes=
* {{Attr|version}}: the supported railML version should be declared for software compatibility reasons, valid for all subschemas, don't mix railML versions between subschemas in one XML file.
* {{Attr|version}}: the supported {{rml}} version should be declared for software compatibility reasons, valid for all subschemas, don't mix {{rml}} versions between subschemas in one XML file.
|constraints=''{{InheritVersionConstraints}}
|constraints=''{{InheritVersionConstraints}}
|interwiki=RAILML:railML
}}
}}

Latest revision as of 17:46, 25 March 2024


CO:railml
 


Scheme description / Schemenbeschreibung

Position of CO:railml in the XML-Tree / Position von CO:railml im XML-Baum

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

This is the railML® root element.
 
Please, be aware of the semantic constraint(s)!
 
The corresponding railML® 3 element is RAILML:railML.

Attributes of CO:railml / Attribute von CO:railml

  • version: the supported railML® version should be declared for software compatibility reasons, valid for all subschemas, don't mix railML® versions between subschemas in one XML file.

Syntactic Constraints / Syntaktische Beschränkungen

  • version: optional, two or three part version numbers, e.g. 1.0 up to 99.99, or 1.0.1 up to 99.99.99

Semantic Constraints / Semantische Beschränkungen

Private-cloud-icon.png Semantic Constraint "IS:017":
 

either <infrastructure> or <railml> must have @version attribute

Compare #xxx
 
Proposed on March 25th 2024
Approved on March 25th 2024
FIXME: add Link to discussion!
Please, recognize our guidelines on semantic constraints

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.