IATI-Schemas
IATI-Schemas copied to clipboard
Decimal percentage boundary check
This checks if the all percentages are within the set boundaries (0 - 100).
2 Tests added, 26-decimal-percentage.xml was already there to check valid decimal percentages. Added 48-decimal-percentage-boundaries.xml to make sure I didn't accidentally make percentage="100" invalid. Added failed state 27-decimal-percentage-out-of-bounds.xml to invalidate percentages over a 100.
This is probably backward compatible for version 2.01 and 1.0x.