The necessary change on the railML 2.4 schema is as follows:
when defining the child elements of rostering the element blocks gets the specification minOccurs="0", see below:
<xs:complexType name="eRostering">
<xs:complexContent>
<xs:extension base="rail:tRostering">
<xs:sequence>
...
<xs:element name="blocks" type="rail:eBlocks" minOccurs="0"> <---
<xs:annotation>
<xs:documentation source="http://wiki.railml.org/index.php?title=TT:blocks"/>
</xs:annotation>
</xs:element>
<xs:element name="circulations" type="rail:eCirculations" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://wiki.railml.org/index.php?title=TT:circulations"/>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
The circulations already have the entry minOccurs="0", here no change is necessary.
Best Regards
Heribert
[Updated on: Tue, 26 June 2018 10:44]
Report message to a moderator