<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello, all:</p>
<p>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.</p>
<p>I am using <oXygen/> XML Editor 23.1, build 2021061407
which includes an XSpec 1.6.0 framework.</p>
<p>An exemplar of my problem can be seen at
<a class="moz-txt-link-freetext" href="https://github.com/18F/fedramp-automation/commit/d023c719754ee5ed14dfc8a8991fbfafb82ff18b">https://github.com/18F/fedramp-automation/commit/d023c719754ee5ed14dfc8a8991fbfafb82ff18b</a>.
The Schematron (<tt>media-type.sch</tt>) works correctly with an
instance document (<tt>media-type.xml</tt>) but both XSpec
scenarios (in <tt>media-type.xspec</tt>) fail when the inbuilt
"Run XSpec Test" translation scenario is used.<br>
</p>
<p>Any and all suggestions are welcome.</p>
<p>Best regards,</p>
<p>Gary<br>
</p>
<div class="moz-signature">-- <br>
<title>Gary Gapinski's contact information</title>
<address style="font-size: smaller; text-decoration:none;"
xml:lang="en">
<div>Gary Gapinski</div>
<div>℡ <a style="text-decoration:none;"
href="tel:+1-216-820-1849" title="Telephone number"
aria-label="Telephone number">+1 216 820 1849</a></div>
<div>℡ <a style="text-decoration:none;"
href="sip:gary@garygapinski.com" title="SIP URI (VoIP)"
aria-label="SIP URI (VoIP)">gary@garygapinski.com</a></div>
<div>✉ <a style="text-decoration:none;"
href="mailto:gary@garygapinski.com" title="Internet Email
Address" aria-label="Internet Email Address">gary@garygapinski.com</a></div>
</address>
</div>
</body>
</html>