Features: p-validate-with-json-schema

p:validate-with-json-schema 003 (AB)

Tests p:validate-with-json-schema: Invalid document raises error because @assert-valid is default.

Test is expected to fail with error code err:XC0165.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" 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>

Revision history

04 Sep 2022, Achim Berndzen
Initial commit