Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

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 Oct 29, 2020
1 parent 642feca commit dee3785
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 dee3785

Please sign in to comment.