Re: small change of attribute 'zip' [message #314 is a reply to message #306] |
Sat, 23 June 2012 11:04 |
Christian Rahmig
Messages: 151 Registered: January 2011
|
Senior Member |
|
|
Hello Dirk and anyone interested,
> The attribute <ocp>.<area>.zip should be defined as >optional< and
>> xs:string<.
>
> Up to now it is defined as required, rail:tPositiveCounter. Therefore,
> there is no possibility to express that one does not know the ZIP code.
> Since the attribute is required it cannot be skipped. Since it is
> rail:tPositiveCounter it cannot be left zero.
>
> Additionally, it should be defined as xs:string because there may be
> characters in a ZIP code (as in UK).
For the upcoming railML 2.2 I set the attribute <ocp>.<area>.zip from
'required' to 'optional' and its type from 'rail:tPositiveCounter' to
'xs:string' (see [1]).
[1] https://trac.assembla.com/railML/ticket/127
Regards
--
Christian Rahmig
railML.infrastructure coordinator
|
|
|