Country problem

Submitted by Joerg Freudenstein on Tuesday, 30 September, 2014 - 09:59
Issue ID
UML General
Bug report
Datex stakeholder

In Vehicle class there is vehicleCountryOfOrigin attribute with type MultilingualString. According to description it should be CountryEnum or maybe even better just String for accepting cars outside of EU, eg. Russia.

(reported on behalf of Jan Mynarík).

"For me ideal type of this attribute would be CountryEnum if CountryEnum wasn't limited. CountryEnum limited to e.g. EU member and applicant states is certainly fine for usage of static information (i.e. addresses of parking sites etc. as I suppose DATEX is mostly EU "thing") but for dynamic information like vehicleCountryOfOrigin it may not be enough as you can have a car from Russia or India in the parking lot.

Personally, I would even stop using CountryEnum completely and use just some type extending String, with a name like ISO3166StateCode. Even with enum a developer still has to know the iso codes, so that it doesn't change much and DATEX could be free of updating always to reflect current state of ISO 3166."


Found Version
{"changeLogs":[{"date":1528373844205,"componentOLD":"- Select a value -","component":"UML General","categoryOLD":"- Select a value -","category":"Bug report","priorityOLD":"- None -","priority":"Normal","assignedOLD":"","assigned":"iancornwell (42)","statusOLD":"- None -","status":"Fixed"},{"date":1537268737119}]}

Posted by iancornwell on April 14, 2022 Permalink

Fixed by resolution described at 147