Home » railML newsgroups » railml.timetable » [railML2] New semantic constraint for <sectionTT>
[railML2] New semantic constraint for <sectionTT> [message #3505] Tue, 11 March 2025 16:25 Go to next message
Milan Wölke is currently offline  Milan Wölke
Messages: 240
Registered: April 2007
Senior Member
Hi all,

in one of our last timetable developer meetings while we came across the fact that it actually doesnt make much sense to specify a <sectionTT> on the last stop of a <trainPart>. We therefore would want to introduce a semantic constraint that makes this a general rule.

We propose the following wording:

The last <ocpTT> of a <trainPart> must not contain a <sectionTT> element.

From our point of view, this only formalizes a rule that has already arisen from the structure of the data and should therefore not cause any problems with existing implementations.

Please let us know if you have concerns or if you have suggestions on how to improve the wording.

Best regards, Milan


Milan Hoffmann – Timetable schema coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org

[Updated on: Thu, 13 March 2025 09:33]

Report message to a moderator

Re: [railML2] New semantic constraint for <sectionTT> [message #3548 is a reply to message #3505] Tue, 08 April 2025 10:57 Go to previous message
Christian Rößiger is currently offline  Christian Rößiger
Messages: 85
Registered: March 2015
Member
Hi Milan,

Milan Wölke wrote on Tue, 11 March 2025 16:25
Hi all,

We propose the following wording:

The last <ocpTT> of a <trainPart> must not contain a <sectionTT> element.

I have no objections to this.

Best regards
Christian

Previous Topic: [railML2] Proposal for a new semantic constraint for <stopTimes>
Next Topic: [railML3] Use Case 3.4: Additional trains
Goto Forum:
  


Current Time: Wed Nov 18 18:32:56 GMT+1 2026