Home » railML newsgroups » railML.infrastructure » [railML3]: keyLocksIL and ownsLogicalDevice
[railML3]: keyLocksIL and ownsLogicalDevice [message #2559] Tue, 20 October 2020 13:28 Go to previous message
Dominik Looser is currently offline  Dominik Looser
Messages: 18
Registered: March 2020
Junior Member
Dear all,

in RailML3.1, the interlocking complexType keyLocksIL not only has a child keyLockIL, but also another child ownsLogicalDevice:
<xs:element name="ownsLogicalDevice" type="rail3:LogicalDevice" minOccurs="1" maxOccurs="unbounded"/>

We have tried several possibilites on what to fill into this ownsLogicalDevice child, e.g.:

<keyLocksIL>
    <keyLockIL id="kloIL8">
        <refersTo ref="klo8"/>
    </keyLockIL>
    <ownsLogicalDevice id="old_temp_id"/>
</keyLocksIL>

Since all other attributes and subelements of ownsLogicalDevice are optional, this should be sufficient from our understanding, but the xml-validation always fails with:

269:46 cvc-type.2: The type definition cannot be abstract for element ownsLogicalDevice.

We would be thankful if someone could post a valid example for keyLocksIL.

Thank you and best regards,
Dominik Looser
trafit solutions gmbh
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [railML3] switch and crossing inclination
Next Topic: [railML3] draft of RBC according ETCS use case
Goto Forum:
  


Current Time: Wed May 01 07:36:15 CEST 2024