This element does not appear in railML® 3.3 within the IS subschema. It is available only in railML® 3.1, 3.2. Do not hesitate to contact railML.org for further questions.
This element does not appear in railML® 3.3 within the IS subschema. It is available only in railML® 3.1, 3.2. Do not hesitate to contact railML.org for further questions.
Autoexport from the XML-Schema for element IS:infrastructureState of railML® version 3.2 | |
Documentation | state of the functional infrastructure regarding its availability and usability |
Subschema | infrastructure |
Parents* | |
Children |
elementState (0..*), name (0..*), validityTime (0..*) |
Attributes:
| |
*Notice: Elements may have different parent elements. As a consequence they may be used in different contexts. Please, consider this as well as a user of this wiki as when developing this documentation further. Aspects that are only relevant with respect to one of several parents should be explained exclusively in the documentation of the respective parent element. |
Autoexport from the XML-Schema for element IS:infrastructureState of railML® version 3.1 | |
Documentation | state of (a part of) the functional infrastructure regarding its availability and usability |
Subschema | infrastructure |
Parents* | |
Children |
any (0..*), elementState (0..*), name (0..*), validityTime (0..*) |
Attributes:
| |
*Notice: Elements may have different parent elements. As a consequence they may be used in different contexts. Please, consider this as well as a user of this wiki as when developing this documentation further. Aspects that are only relevant with respect to one of several parents should be explained exclusively in the documentation of the respective parent element. |
There exists an overview of all changes between railML® 3.1 and railML® 3.2 on page Dev:Changes/3.2.
The element documentation has been changed.
The parents have been changed.
The children have been changed.
The attributes have been changed.
There exists an overview of all changes between railML® 3.2 and railML® 3.3 on page Dev:Changes/3.3.
Removed with version 3.3.
|
Reader cannot identify what is the state of the <infrastructure> in the file: "operational" or "conceptual", because validityTime is not given therefore not restricted. Both "operational" and "conceptual" states apply to the whole infrastructure except elements "xxx" and "yyy".
<infrastructureState id="state1" value="operational"> <elementState id="xxx" refersToElement="zzz" value="closed" /> </infrastructureState> <infrastructureState id="state2" value="conceptual"> <elementState id="yyy" refersToElement="jjj" value="disabled" /> </infrastructureState>
Case 1 and case 2 below both and example of unambiguous description if infrastrucrure.
There is only one <infrastructureState> in the file therefore it does not intersect with any other infrastructureState. elementState/@value gives other state than infrastructureState/@value and overwrites it for element "xxx".
<infrastructureState id="state1" value="operational"> <elementState id="xxx" refersToElement="zzz" value="closed" /> </infrastructureState>
Validities of "state1" and "state2" do not intersect therefore in reader can identify when each of them applies.
This example provides the following information:
<infrastructureState id="state1" value="operational"> <validityTime> <period from="2002-09-24-06:00" to="2002-09-30-06:00" /> </validityTime> <elementState id="xxx" refersToElement="zzz" value="closed" /> </infrastructureState> <infrastructureState id="state2" value="conceptual"> <validityTime> <period from="2022-09-24-06:00" to="2022-09-30-06:00" /> </validityTime> <elementState id="yyy" refersToElement="jjj" value="disabled" /> </infrastructureState>
<infrastructureState> "state1" refers to the whole infrastructure. Children <elementState> refer only to the elements with different state.
<infrastructureState id="state1" value="operational"> <elementState id="yyy" refersToElement="aaa" value="closed" /> <elementState id="zzz" refersToElement="bbb" value="closed" /> <elementState id="jjj" refersToElement="ccc" value="closed" /> </infrastructureState>
This is a bad practice because elementState/@value="closed" gives redundant fact. It is already know from the parent that all the IS except listed in children with different state is "closed".
<infrastructureState id="xxx" value="closed"> <elementState id="yyy" refersToElement="aaa" value="closed" /> <elementState id="zzz" refersToElement="bbb" value="closed" /> <elementState id="jjj" refersToElement="ccc" value="closed" /> </infrastructureState>