Home » railML newsgroups » railml.timetable » Datatype for distance in sectionTT
Re: Datatype for distance in sectionTT [message #765 is a reply to message #764] Mon, 26 March 2012 11:29 Go to previous messageGo to previous message
Dirk Bräuer is currently offline  Dirk Bräuer
Messages: 311
Registered: August 2008
Senior Member
Hallo Christoph and all other,

this is a known problem since a long time. I do not know the origins
anymore but we already had discussions about it some years ago. I guess
some of the reasons may be that, the decimal separator in XML and
Switzerland is the thousand separator in Germany (a dot), and there are 6
(!) fraction digits allowed in this unit which really does not make sense
if it is meters...

At the moment, we (iRFP) take part at the confusion by writing km into our
RailML files and so we violate the XSD. (We write "distance='0.460'" which
shall mean 460 meters and not 460 kilometers.)

However, we cannot change it back in time for RailML 2.0 but we still can
change it in RailML 2.1 (which is shortly before release here) and we
surely will change it in 2.2. So, I would prefer to write meters
("distance='460'" in the example above) and this is my recommendation.
This would mean not to change the XSD but to change the examples and FBS
output.

If all the others agree (and this means especially the companies reading
FBS RailML output), we will do so from our 2.1 release but we will never
change our 2.0 output.

Sorry for my contingent of this confusion...

Best regards,
Dirk.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Difference between 'Train coupling & sharing' and 'scope'
Next Topic: Sequence of ocpTT elements
Goto Forum:
  


Current Time: Thu May 02 23:41:06 CEST 2024