Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Unit Test Harness for schematron validations #5

Closed
mike-stern opened this issue Oct 23, 2020 · 4 comments · Fixed by #7 or #8
Closed

Unit Test Harness for schematron validations #5

mike-stern opened this issue Oct 23, 2020 · 4 comments · Fixed by #7 or #8
Assignees

Comments

@mike-stern
Copy link

mike-stern commented Oct 23, 2020

As a schematron developer, i want a unit test harness to prove the validation rules I add are delivering their intended function.

@mike-stern mike-stern self-assigned this Oct 23, 2020
@mike-stern mike-stern changed the title Unit Test Framework for schematron validations Unit Test Harness for schematron validations Oct 23, 2020
@mike-stern
Copy link
Author

XSpec seems to be a leading candidate: https://www.balisage.net/Proceedings/vol19/html/Lizzi01/BalisageVol19-Lizzi01.html

@mike-stern
Copy link
Author

mike-stern commented Oct 28, 2020

Xspec is direction, Add

  • Add harness file for .xspec
  • Add script that allows for schematron validation and reporting by folder

@mike-stern
Copy link
Author

mike-stern commented Oct 28, 2020

Looking at the direction of using xml-model for declarative Schematron validation within XML.
ala

<?xml-model href="../../src/ssp.sch" type="applicaiont/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>

This aligns with the goals of having tooling support that would highlight (in-line) validations of the business rules set forth in the Schematron

@mike-stern
Copy link
Author

Also researching tooling (vs Code or other open source options) that support xml-model and or xpec test harness. These videos (xpec and schematron and Schematron quick fixes) highlight the power brought forth using oxygen XML editor, but the license cost may be prohibitive for community adoption.

@mike-stern mike-stern linked a pull request Oct 29, 2020 that will close this issue
@ohsh6o ohsh6o closed this as completed in #7 Oct 29, 2020
@mike-stern mike-stern linked a pull request Oct 29, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant