wmo-im / iwxxm

XML schema and Schematron for aviation weather data exchange
https://old.wmo.int/wiswiki/tiki-index.php%3Fpage=TT-AvXML
49 stars 22 forks source link

The validation of collection doesn't respect XSD definition #58

Closed jkorosi closed 4 years ago

jkorosi commented 6 years ago

If a collection is created by older version 1.1 instead of version 1.2 which is required by iwxxm-collect.xsd then the validation doesn't failed and the collection is marked as a valid (tested by http://wmo-icao-validator.rap.ucar.edu/). If we done the validation just against to XSD schema then this error is detected (at least in our XSD validation process). I am not sure if it is an error or some configuration issue of Crux validator. If it cannot by fixed then maybe some additional Schematron rule should be defined in iwxxm-collect.sch to secure using of correct collection version. It doesn't seem to be so big issue but the order of meteorologicalInformation and bulletinIdentifier elements is reverted in definition of MeteorologicalBulletinType sequence type between these two versions, so the structure of produced bulletin depends on the used collect schema version.

The examples created in both versions are attached in collect.zip file.

braeckel commented 6 years ago

This is an issue with the online validator tool, and is likely due to how the online validator tool chooses and validates against the collect schema independently of the IWXXM version.

blchoy commented 4 years ago

As the online validation tool has been retired, this issue is superseded by event and is hereby closed.