Tests p:validate-with-json-schema: Invalid document raises error because @assert-valid is default.
Test ab-validate-with-json-schema-003.xml is expected to fail with error code err:XC0165
.
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/in-valid.json"/>
<p:with-input port="schema" href="../documents/schema.json"/>
</p:validate-with-json-schema>
</p:declare-step>
Initial commit