ab-validate-with-schematron-005

Testing schematron validation: Invalid doc should raise error.

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

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="full">
      <p:with-input port="source" href="../documents/docbook-invalid.xml"/>
      <p:with-input port="schema" href="../documents/docbook-phases.sch"/>
   </p:validate-with-schematron>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

18 Aug 2019, Achim Berndzen

Initial publication: Test ported from 1.0 test suite