ab-validate-with-schematron-003

Testing schematron validation: Invalid doc should raise error.

Test ab-validate-with-schematron-003.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>
      <p:with-input port="source" href="../documents/docbook-invalid.xml"/>
      <p:with-input port="schema" href="../documents/docbook.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