Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for batch validation against XSD for testing #101

Open
4 tasks
wendellpiez opened this issue Feb 16, 2024 · 1 comment
Open
4 tasks

Support for batch validation against XSD for testing #101

wendellpiez opened this issue Feb 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wendellpiez
Copy link
Contributor

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

  • 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.}

@wendellpiez
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant