younginnovations / aidstream-old

[Deprecated] AidStream is a platform for small and medium size NGOs to publish their aid data in IATI standard.
http://aidstream.org
3 stars 13 forks source link

Validation Error For Sector Code In Aidstream #135

Closed wendyrogers closed 8 years ago

wendyrogers commented 8 years ago

The activity file created by Aidstream for the Abaseen Foundation ( https://www.aidstream.org/files/xml/abaseen-activities.xml) is currently failing on the IATI validator with an error for the sector code details published without the code attribute

Please can you investigate to determine the cause of the problem and amend Aidstream if required.

wendyrogers commented 8 years ago

Also same error for

Hilfswerk Austria Zimbabwe - http://www.aidstream.org/files/xml/hwa-zm-activities.xml Stromme - http://www.aidstream.org/files/xml/stromme_ug-activities.xml SURF - http://www.aidstream.org/files/xml/surf-activities.xml (& 1 other error)

anjesh commented 8 years ago

These activities are legacy ones (from the previous IATI version where code is optional). This wouldn't happen in the newly created activities. We will be implementing the schema validation as a part of the workflow so that any existing activity which doesn't pass the schema will be up for correction. Currently these existing activities could easily leak into xml, when those problematic elements are not touched during editing.

Followup here https://github.com/younginnovations/aidstream/issues/148