Closed blchoy closed 3 years ago
Hmm. The validation script I use is very similar to the one used here on GitHub. I just downloaded the RDF formatted files from the WMO code registry. I didn't see any changes from Dec 15 2020 set to today's: they have identical file sizes and content.
Are you using the GUI interface to get the RDF files? The python routine is here
If you are downloading the RDF files from the GUI/browser, don't select 'with metadata' option, just plain.
If you are downloading the RDF files from the GUI/browser, don't select 'with metadata' option, just plain.
That's right, it must be too late when I compared the files previously. :)
In any case, I have made a slight change to the XPath in the schematron rule and now it should be independent on the ancestors.
I haven't download RDF files from the Codes Registry for some time. Just noticed that the latest ones are different from those obtained before. The following fragments contrasts the difference between the two:
Previous:
Latest:
The interesting thing is because of the way the schematron rules are written, those using the recently downloaded RDF files will always get a complaint from the validator. However we received no complaint so far.
Anyway I will revised the rules to make them more flexible in the xpath search. May be @marqh could also confirm our suspicion on a code registry export change?