Skip to content

Commit

Permalink
Delete previous reports.
Browse files Browse the repository at this point in the history
Piggy-backing off of #7, and #8. We are cleaning previous XSL
  • Loading branch information
aj-stein-gsa committed Nov 3, 2020
1 parent 0a0a5b1 commit 4bc1ec9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/validations/bin/validate_with_schematron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 4bc1ec9

Please sign in to comment.