A validator for Schematron definitions