Open martindholmes opened 1 month ago
Branch issue_31_remove_xproc set up for this work.
The current process is duplicating files during the tests; I need to check all the filenames that are being passed into the transpile process and how they are manipulated into the other files that need to be generated. There should also probably be a cleanup process at the end of the tests, to remove the products.
Also add a pre-clean stage to the test running setup.
Added Schematron compilation and application in the ant build file.
Cmmented-out bits are what remains to be done as of today:
<target name="transpilePlodd" description="Run the full sequence of steps to create RNG and Schematron from a PLODD file.">
<description>
TARGET transpilePlodd
This runs the sequence of steps required to check the validity of a PLODD,
create RELAX NG and Schematron from a PLODD file, and thoroughly check the
results.
</description>
<antcall target="preclean"/>
<!-- TODO: <antcall target="preValidatePloddWithRng"/> -->
<antcall target="preValidatePloddWithSch"/>
<antcall target="preprocessPlodd"/>
<antcall target="ploddToRng"/>
<antcall target="extractSchematron"/>
<antcall target="validateRngWithRnc"/>
<!-- TODO: <antcall target="validateSchematronWithRng"/> -->
<!-- TODO: <antcall target="validateSchematronWithSch"/> -->
</target>
The use of XProc is just getting in our way at this point, so we should remove it and let Ant run everything.