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

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

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

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 assert-valid="true">
      <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>
MorganaXProc passing XML Calabash failing

Revision history

04 Sep 2022, Achim Berndzen

Initial commit