Closed YohannaLoucheur closed 4 years ago
The test should be removed - the IATI Standard does not state that other vocabularies should be used in addition to the 1: OECD DAC list.
It only says that if no vocabulary is specified, 1: OECD DAC is assumed. http://reference.iatistandard.org/203/activity-standard/iati-activities/iati-activity/policy-marker/#iati-activities-iati-activity-policy-marker-code
@PetyaKangalova to confirm.
@amy-silcock That is indeed correct. The policy marker does not follow the same rule for OECD DAC vocabulary as other elements.
It is correct that if no vocabulary is specified, then OECD DAC is assumed: http://reference.iatistandard.org/203/activity-standard/summary-table/
Organisations can also use Vocabulary- 99 if no relevant codes on the policy marker codelist. In that case there should be a check about narrative must be present if @vocabulary=’99
’
Amy & Petya, this is useful clarification. However it does not address all the issues raised, such as:
I would also flag that it is strange that the Validator would only flag this problem for 14 activities since we use policy markers in pretty much all our activities.
Hi Yohanna,
The test shouldn't be part of the validator. Removing it fixes all the issues you've raised on this ticket.
If you would like a further explanation please contact us on the support desk.
The test has been removed. This looks good to me @rolfkleef
Describe the bug In gac-amc-act_2_3.xml file, Validator flags 14 activites where it reports "The activity should also have a policy-marker using the OECD DAC vocabulary." then links to the guidance for coding sectors. At least one of these activities (CA-3-A032990001) provides 2 policy markers.
So:
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the Validator to identify the policy markers in the activity data and not flag these as missing policy markers. I expect the Validator to point to relevant guidance when data is indeed missing.
Screenshots![image](https://user-images.githubusercontent.com/6749013/68710766-2859d380-0566-11ea-8aef-5feca43456a3.png)