Consistent error messages for schema checking, schematron checking, and generic xml attribute/file checking