Home » railML newsgroups » railml.timetable » Missing 'any' attributes/elements
Re: Missing 'any' attributes/elements [message #1301 is a reply to message #1296] Mon, 28 September 2015 14:42 Go to previous messageGo to previous message
Philip Wobst is currently offline  Philip Wobst
Messages: 47
Registered: November 2013
Location: Hanover, Germany
Member
Hello Christian,

this approach would include the any-attributes you have suggested to add
for the circulation element
( http://www.railml.org/forum/ro/nextarticle.php?group=2&o ffset=0&thread=121&article=429,
TRAC ticket #267). This was discussed with the other schema coordinators
but there does not seem to be an actual need for such a change in 2.3.
For that reason a ticket #268 (https://trac.railml.org/ticket/268) was
created for railML 2.3 limited to the <timetable> element only (IS in
discussion).

The elements you have specified will be extended accordingly, if there
are no concerns from the TT community as response to this thread.

Best regards,

Philip

With regard to the other schemas there is currently no need to add

Am 15.09.2015 um 15:32 schrieb Christian Rößiger:
> 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
>
 
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: Sat Apr 27 17:36:17 CEST 2024