Skip to content

Various conditional and restraint rules for IATI data

License

Notifications You must be signed in to change notification settings

data4development/IATI-Rulesets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Various conditional and restraint rules for IATI data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • XSLT 100.0%