usnistgov/metaschema-xslt

Repair broken XSLT pathway in XSLT-based converter generator pipeline

wendellpiez opened this issue · 1 comments

Describe the bug

While the XProc-based converter generation pipeline is working, the XSLT-based pipelines instantiated in the two 'wrapper' XSLTs have not caught up:

https://github.com/usnistgov/metaschema-xslt/blob/develop/src/converter-gen/nist-metaschema-MAKE-JSON-TO-XML-CONVERTER.xsl
https://github.com/usnistgov/metaschema-xslt/blob/develop/src/converter-gen/nist-metaschema-MAKE-XML-TO-JSON-CONVERTER.xsl

These are both behind (since they duplicate functionality now available in a pipeline step, as used in the parallel XProc), and buggy (since they point to files in old locations) - the bugs being in the code that will be removed.

Who is the bug affecting?

Anyone who wishes to use these XSLTs standalone.

A workaround: use the XProc pipeline.

What is affected by this bug?

Runtime failure in converter generation.

When does this occur?

Whenever one tries using an offending XSLT.

Expected behavior (i.e. solution)

Include final 'packing' steps, and remove unneeded templates and variables.

Other Comments

Not a big job, but careful testing is called for.