Goord morning at all,
is there any possibility to restrict some values in DatexII, e.g. for the Speed? So that the "KilometresPerHour" values only can be in the range of [0...100 km/h] ? So if the value is outside of this range, then it would declared as an "ERROR" or something else.
In EA i didn´t found a way to determine some ranges.
Also i tried to do an restriction in the XSD-File:
second part in the picture
The structure seems to be valid, but the restriction doesn´t has any effect! Maybe because the restriction is for the " xmlns:xs="http://www.w3.org/2001/XMLSchema" " Namespace but it should be for the " xmlns:D2LogicalModel="http://datex2.eu/schema/2/2_0" ".
But if i try it for "D2LogicalModel":
first part in the picture
than i get the error :
"Namespace of the Element 'restriction'/'minInclusive'/'maxInclusive' must be from the Namespace 'http://www.w3.org/2001/XMLSchema' ."
Does anyone have some ideas to solve this problem?
Thanks at all.