mdr2.schema-validation
Schema validation for XML
extract-error
(extract-error exception)
Return a map with the error mesage and the line number given an exception
validation-errors
(validation-errors file schema)
Return a list of validation errors when validating file
against the given Relaxng schema
. If the file is valid an empty list is returned. The errors are returned in the form a map contaings the keys :error, :line and :column