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
[ ] A script delivers the functionality described.
[ ] All website and readme documentation affected by the changes in this issue have been updated. Changes to the website can be made in the docs/content directory of your branch.
[ ] A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
[ ] The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.
{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.}
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.}