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.
<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>
Initial publication: Test ported from 1.0 test suite