Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.54 KB

README.rst

File metadata and controls

35 lines (24 loc) · 1.54 KB

IATI-Rulesets

https://travis-ci.org/data4development/IATI-Rulesets.svg?branch=master https://img.shields.io/github/v/tag/data4development/IATI-Rulesets

Introduction

This is the source repository for the rulesets in the new IATI Validator.

As part of the Validator work, the earlier JSON-based rules have been migrated to an XSLT-based system, and some additional checks and feedback messages have been added.

Rules

The rules are implemented as an XSLT transformation of an IATI file. The rules insert data quality feedback messages in the IATI XML, in their own namespace.

The Validator processes these files to generate various output formats.

Testing the rules

The developer folder contains Xspec scenarios for IATI data with expected messages.

The scenarios can be run using Ant: ant tests will run tests and generate an HTML report in develop/tests/xspec/iati-result.html.