usnistgov / metaschema-xslt

An implementation of the Metaschema information modeling language, in XSLT and XProc
https://pages.nist.gov/metaschema/
Other
3 stars 8 forks source link

Schema validation for Metaschema instances under CI/CD #112

Open wendellpiez opened 7 months ago

wendellpiez commented 7 months ago

User Story:

Many learners' errors (and worse) could be prevented from propagating accidentally if we were to provide PR-time validation of Metaschema instances, i.e. any and all metaschemas in the repo (mainly testing) that must run for tests to run.

Goals:

We need these capabilities from the command line and in CI/CD:

A configurable XProc step could be a nice way to do this, with a little script for invocation.

An example of a metaschema instance to be validated is in the testing folder.

Having done this for one testing metaschema we can then proceed to validate any/all.

Dependencies:

None known.

In a branch now being staged (not yet merged) there is relevant work: see https://github.com/usnistgov/metaschema-xslt/pull/108

Acceptance Criteria

{The items above are general acceptance criteria for all User Stories. Please describe anything else that must be completed for this issue to be considered resolved.}

wendellpiez commented 7 months ago

Now being addressed in the working branch behind #108.