Skip to content

Various conditional and restraint rules for IATI data

License

Notifications You must be signed in to change notification settings

PetyaKangalova/IATI-Rulesets

 
 

Repository files navigation

IATI-Rulesets

https://travis-ci.org/data4development/IATI-Rulesets.svg?branch=migrate-to-xslt-rules

Introduction

This is the source repository for the rulesets.

As part of the Validator work, the XSLT-based rules have been migrated to replace the earlier JSON-based rules.

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

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 100.0%