TEIC / atop

Another TEI ODD Processor
Other
9 stars 2 forks source link

Remove XProc #31

Open martindholmes opened 1 month ago

martindholmes commented 1 month ago

The use of XProc is just getting in our way at this point, so we should remove it and let Ant run everything.

martindholmes commented 3 weeks ago

Branch issue_31_remove_xproc set up for this work.

martindholmes commented 2 weeks ago

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.

martindholmes commented 2 weeks ago

Also add a pre-clean stage to the test running setup.

martindholmes commented 1 week ago

Added Schematron compilation and application in the ant build file.

martindholmes commented 3 days ago

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>