<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-validate-with-schematron-006.xml"
        name="ab-validate-with-schematron-006.xml"
        expected="fail"
        code="err:XC0054"
        features="p-validate-with-schematron">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>ab-validate-with-schematron-006</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2019-08-18</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Initial publication: Test ported from 1.0 test suite</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Testing schematron validation: Invalid doc should raise error, #DEFAULT is used.</p>
   </t:description>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step 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-invalid.xml"/>
            <p:with-input port="schema" href="../documents/docbook.sch"/>
         </p:validate-with-schematron>
      </p:declare-step>
   </t:pipeline>
</t:test>
