Cancellation of train or trainPart (DE: Ausfall von Zügen oder Zugteilen)
Description
It shall be possible to show cancellation of a train or trainPart within one railML file without the need for the importing system to compare two files to identify cancellations.
Suggested change:
- Canncellation of a train
- Cancellation of a trainPart
Background
With railML 2.2 an importing system could derive cancellations by comparing two railML data sets:
- Any train or trainPart missing in the second data set can be interpreted as a cancellation - e.g. train number missing in second data set.
- Changes to the operationg period of the trainPart(s) can be interpreted as a cancellation - e.g. change of operationg period from Mo-Fr to Mo-Th in the second data set.
Links
- Forum discussion
- Christian Wermelinger (de), February 2013: Explizite Kennzeichnung von gelöschten Zügen und Zugausfällen
- Wiki Documentation
- TT:train
- TT:trainPart
Changes in railML 2.3
A cancelled train or trainPart is written to the railML file including all regular attributes and elements. The @cancellation
attribute with a value of 'true' allows the importing system to process this information accordingly - e.g. to inform passengers of a cancellation.
Compatibility 2.2 ===
The new attributes may only be used in a file for an importing system with the capability to handle cancellations. For downward compatibility the exporting system must ensure that a cancelled train or trainPart mustn't be included in the file.
railML elements
The following new attributes are available:
1. railml/timetable/trainParts/trainPart/@cancellation
1. railml/timetable/trains/train/@cancellation
The following XSD file(s) have been updated:
1. timetableTypes.xsd
Changesets
* [changeset:"612/railML"] - cancellation attribute for train and trainPart * [changeset:"613/railML"] - documentation for train corrected
Documentation Tasks
- Document the changes for 2.3
- Update the wiki pages for
train
andtrainPart