Hello, all:
I have found creation of XSPec unit tests for Schematron assertions a bit puzzling. I frequently manage to create Schematron which works correctly for instance document validation but related XSpec scenarios produce incorrect results. I may be repeatedly doing something erroneous but have yet to determine what.
I am using <oXygen/> XML Editor 23.1, build 2021061407 which includes an XSpec 1.6.0 framework.
An exemplar of my problem can be seen at
https://github.com/18F/fedramp-automation/commit/d023c719754ee5ed14dfc8a8991fbfafb82ff18b.
The Schematron (media-type.sch) works correctly with an
instance document (media-type.xml) but both XSpec
scenarios (in media-type.xspec) fail when the inbuilt
"Run XSpec Test" translation scenario is used.
Any and all suggestions are welcome.
Best regards,
Gary