mdr2.dtbook.validation
Validate DTBook XML files
error-message
(error-message key expected actuals)Return an error message for key that has the value expected instead of the values in actuals
get-element-path
(get-element-path field)Return the path to the element for the given field
get-metadata-path
(get-metadata-path field)Return the path to the metadata for the given field
validate-metadata
(validate-metadata dtbook production)Validate the meta data of a DTBook XML file against a given production. Return a sequence of error strings or an empty sequence if the XML in dtbook is valid
validate-paths
(validate-paths loc value paths)Validate paths in loc against a given value. Return true if all paths contain the value