Home » railML newsgroups » railml.timetable » TrainpartRefs
Re: TrainpartRefs [message #746 is a reply to message #745] Wed, 07 September 2011 14:48 Go to previous messageGo to previous message
Christoph.Jobmann is currently offline  Christoph.Jobmann
Messages: 12
Registered: October 2010
Junior Member
Greetings,

from my point of view trainPart elements can no longer be used more than
once within the same trainPartSequence if rostering is included. In this
case you will need several almost identitical trainParts - the only
difference will be the id-attribute.
Furthermore I don't like the thought of multiply referring to the same
trainPart when working with commercial and operational trains since you
will not be able to distinguish which references to trainParts in the
operational train are included in which commercial train.
I do realize that this leads to many identical trainPart-Elements; yet I
find it neccessary to transmit the needed information without extending
the standard.

Best regards
Christoph Jobmann

Andreas Tanner wrote:
>
> Hallo RailML-group,
>
> is the <trainPart> element intended for "multiple use"? The example file
> TT_ICN.xml has
>
> <train id="o2109" name="ICN 2109" type="operational" trainNumber="2109"
> description="betrieblicher Zug 2109 mit 2 Kompositionen">
> <trainPartSequence sequence="1" pathStatus="confirmed">
> <trainPartRef position="1" ref="tp2109" />
> <trainPartRef position="2" ref="tp2109" />
>
> Now if this is legal, there is a problem with the rostering. A
> <blockPart> can reference a <trainPart> - but which reference to it is
> meant if the <trainPart> is used more than once?
> What one really would need is a "<trainPartRefRef" and the
> <trainPartRef> children of the <trainPartSequence> would need there own
> ID...
>
> I think that we /should/ allow for multiple use of trainparts. If you
> have different views on the same train (eg, commercial and operational),
> you would build those views from the same trainPart elements.
>
> Regards
> --Andreas Tanner.
>
>



--
----== posted via PHP Headliner ==----
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Frage zu TT:category
Next Topic: deprecated attribute "trainLine" for element "trainPart"
Goto Forum:
  


Current Time: Wed May 15 19:44:47 CEST 2024