ab-validate-with-schematron-014

Testing that XC0151 is raised if schema is not valid.

Test ab-validate-with-schematron-014.xml is expected to fail with error code err:XC0151.

It requires the following features: p-validate-with-schematron.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:validate-with-schematron phase="#DEFAULT">
      <p:with-input port="source" href="../documents/docbook-valid.xml"/>
      <p:with-input port="schema">
         <not-schematron/>
      </p:with-input>
   </p:validate-with-schematron>
</p:declare-step>
MorganaXProc passing XML Calabash failing

Revision history

04 Jul 2020, Achim Berndzen

Initial commit