Forum - RDF feed
https://www.railml.org/forum/index.php
power attribute in vehicle/engine/propulsion
https://www.railml.org/forum/index.php?t=rview&goto=1225&th=399#msg_1225
The 'power' attribute inside the 'vehicle/engine/propulsion' element is
required by the XML schema.
How about a very rough definition, where only electric versus diesel
propulsion may be specified? A power="0" seems to be very misleading for
this case. But it fulfills the XSD-requirements and validates fine. :-(
I would opt for an optional "power" attribute for the next major release.
Kind regards...
Susanne
--
Susanne Wunsch
Schema Coordinator: railML.common]]>Susanne Wunsch railML2014-01-10T13:19:54-00:00Re: power attribute in vehicle/engine/propulsion
https://www.railml.org/forum/index.php?t=rview&goto=1226&th=399#msg_1226
> Hi all,
>
> The 'power' attribute inside the 'vehicle/engine/propulsion' element is
> required by the XML schema.
>
> How about a very rough definition, where only electric versus diesel
> propulsion may be specified? A power="0" seems to be very misleading for
> this case. But it fulfills the XSD-requirements and validates fine. :-(
>
> I would opt for an optional "power" attribute for the next major release.
>
> Kind regards...
> Susanne
>
Hi Susanne,
it is correct that "power" may be "0". However, it is the number of propulsion
power in Watt. The type of propulsion power is in attribute "powerType", which
is an enumeration. In addition I would keep both as mandatory. Once you have
defined any kind of propulsion system one shall know its type and its (rough)
capacity.
Thus I would not change it.
--
Best regards,
Joerg v. Lingen
Rollingstock Coordinator]]>Joerg von Lingen2014-03-29T05:32:28-00:00