From dee37857e120ddbd8d6da97b47dfae5226e1b765 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Thu, 29 Oct 2020 18:17:48 -0400 Subject: [PATCH] Delete previous reports. Piggy-backing off of #7, and #8. We are cleaning previous XSL --- resources/validations/bin/validate_with_schematron.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/validations/bin/validate_with_schematron.sh b/resources/validations/bin/validate_with_schematron.sh index 5430de314..45df19bdb 100755 --- a/resources/validations/bin/validate_with_schematron.sh +++ b/resources/validations/bin/validate_with_schematron.sh @@ -50,6 +50,9 @@ for qualifiedSchematronName in src/*.sch; do reportName="report/schematron/${DOC_TO_VALIDATE}__${schematronRoot}.results.xml" htmlReportName="report/html/${DOC_TO_VALIDATE}__${schematronRoot}.results.html" + echo "delete pre-existing SVRL and HTML results" + rm -rf "${reportName}" "${htmlReportName}" + echo "validating doc: ${DOC_TO_VALIDATE} with ${qualifiedSchematronName} output found in ${reportName}" java -cp "${saxon_jar}" net.sf.saxon.Transform \