You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@akmiller01 just pinging you on this --> wondered if you know if this logic came through during the build of the validator, maybe? Thanks
stevieflow
changed the title
The OECD DAC policy-marker significance values are tested when the vocabulary 99 is used
9.48.1 The OECD DAC policy-marker significance values are tested when the vocabulary 99 is used
Feb 20, 2024
Hi @stevieflow I think this logic is actually enforced through the logic in the validator that looks at the Codelists. If you check mapping.xml from the IATI-Codelists repo, you'll see that policy-marker significance codelist mapping does not have any condition elements associated with it: https://github.com/IATI/IATI-Codelists/blob/version-2.03/mapping.xml#L199-L202
As a result, that codelist will always be enforced.
I provided some data - eg:
<policy-marker code="1" significance="5" vocabulary="99"/>
The validator finds an error in this:
Here; the objection is that a significance value of 5 is not on this codelist: https://iatistandard.org/en/iati-standard/203/codelists/policysignificance/ (there are only values 0-4)
However, I have stated that the policy-marker in play here is of vocabulary 99. From this test, the logic seems to be that:
I don't think that is intended - but there's no documentation or guidance to explain this, either in the schema or any associated docs
The closest I can find is a rule:
--> @markbrough any thoughts?
cc/ @Bjwebb
The text was updated successfully, but these errors were encountered: