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

Tests p:validate-with-json-schema: Error raised because document on port "schema" is no valid JSON schema.

Test ab-validate-with-json-schema-008.xml is expected to fail with error code err:XC0164.

It requires the following features: p-validate-with-json-schema.

The pipeline


<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" href="../documents/schema-invalid.json"/>
   </p:validate-with-json-schema>
</p:declare-step>
MorganaXProc passing

Revision history

04 Sep 2022, Achim Berndzen

Initial commit