Home » railML newsgroups » railml.timetable » Missing 'any' attributes/elements
Missing 'any' attributes/elements [message #1296] Tue, 15 September 2015 15:32 Go to previous message
Christian Rößiger is currently offline  Christian Rößiger
Messages: 59
Registered: March 2015
Member
Hello all,

in addition to my request for an any attribute for the circulation
element, I would like to propose a general extension of elements with
"any"-attributes / -elements as an input for railML 2.3. In general, I
think there is a lack of "any" attributes / elements within the
<timetable> schema. One purpose of any elements / attributes is to
extend railML in the short term without waiting for the next schema
release. This means, that these extensions must be implemented in the
schema before someone discovers the need for it. Since it's hard to
predict, for which element extensions are needed in the future, it
cannot be decided individually, which elements should have an any
element or attribute. To minimize the effort for extending the schema, I
wouldn't extend all elements globally. So I would propose the following
rules to to limit the amount of relevant elements:

1) all elements that have at least one attribute should also have an
any-attribute, elements without attributes should not have an any attribute.
2) all elements that contain at least on sub element should also have an
any-element, elements without sub elements should not have an any element.
3) exceptions are pure container elements, that exclusively group sub
elements of one type, e.g. <trains>, <trainParts>,
<rostering><blockParts>. These elements should not have any any elements
or attributes.

According to these rules additional "any-attributes" are necessary for
the following elements:

- <timetablePeriods><timetablePeriod><holidays><holiday>
- <operatingPeriods><operatingPeriod><operatingDay>
- <operatingPeriods><operatingPeriod><operatingDay><operatingDayDeviance >
- <operatingPeriods><operatingPeriod><specialService>
- <trainParts><trainPart><formationTT><equipmentUsage><equipment ><etcs>
- <trainParts><trainPart><formationTT><passengerUsage><places >
- <trainParts><trainPart><formationTT><reservationInfo><booking >
- <trainParts><trainPart><ocpsTT><ocpTT><statistics><statistic ><mean>
- <trainParts><trainPart><ocpsTT><ocpTT><statistics><statistic ><median>
-
<trainParts><trainPart><ocpsTT><ocpTT><statistics><statistic ><standardDeviation>
-
<trainParts><trainPart><ocpsTT><ocpTT><statistics><statistic ><statisticAnalyses>
- <trainParts><trainPart><ocpsTT><ocpTT><sectionTT><runTimes >
- <trainParts><trainPart><ocpsTT><ocpTT><stopDescription><stopTimes >
- <trains><train><trainPartSequence><brakeUsage><auxiliaryBrakes >
- <rosterings><rostering><circulations><circulation>

The same for "any-elements":

- <operatingPeriods><operatingPeriod><operatingDay>
- <trainParts><trainPart><formationTT>
- <trainParts><trainPart><formationTT><equipmentUsage><equipment >
- <trainParts><trainPart><formationTT><passengerUsage>
- <trainParts><trainPart><ocpsTT><ocpTT><connections><connection >
- <trainParts><trainPart><ocpsTT><ocpTT><statistics><statistic >
- <trainParts><trainPart><ocpsTT><ocpTT><sectionTT>
- <trainParts><trainPart><ocpsTT><ocpTT><stopDescription>
- <trains><train><trainPartSequence>
- <trains><train><trainPartSequence><brakeUsage>
- <rosterings><rostering><blocks><block><blockPartSequence >

Feedback would be appreciated.

Best regards
Christian Rößiger

--
iRFP e. K. · Institut für Regional- und Fernverkehrsplanung
Hochschulstr. 45, 01069 Dresden
Tel. +49 351 4706819 · Fax. +49 351 4768190 · www.irfp.de
Registergericht: Amtsgericht Dresden, HRA 9347
 
Read Message
Read Message
Read Message
Previous Topic: Example of CData Element in Metadata
Next Topic: Explizite Kennzeichnung von gelöschten Zügen und Zugausfällen
Goto Forum:
  


Current Time: Thu Mar 28 18:11:25 CET 2024