Tests p:validate-with-json-schema: Error should be raised because the request schema version is not supported.
Test ab-validate-with-json-schema-009.xml is expected to fail with error code err:XC0163
.
It requires the following features: p-validate-with-json-schema.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:validate-with-json-schema>
<p:with-input href="../documents/valid.json"/>
<p:with-input port="schema">
<p:inline content-type="application/json">
{{"$schema": "https://this-is-an-unsupported-schema-version"}}
</p:inline>
</p:with-input>
</p:validate-with-json-schema>
</p:declare-step>
Clarifying test's point.
Initial commit