usnistgov / metaschema-xslt

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

Support for batch validation against XSD for testing #101

Open wendellpiez opened 8 months ago

wendellpiez commented 8 months ago

User Story:

For testing, the capability of validating sets of files against an XSD is invaluable.

Let's provide a simple means by which this can be maintained, starting with a minimal functional example.

The operational context is InspectorXSLT/testing, with an aim at something that can be reused elsewhere.

Goals:

Provide an XProc or other configurable runtime for validating files against XSD in batch.

Input files should be distinguishable as to whether they are expected to be valid or schema-invalid, by their paths - any file in a directory called 'computer-valid' is supposed to be valid, while a path computer-invalid is supposed to be invalid.

Produce a report if any files are not valid or invalid as needed.

Dependencies:

None.

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 6 months ago

Closing this - also now being addressed over in https://github.com/usnistgov/oscal-xproc3