<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="ab-validate-with-xsd-017.xml"
        name="ab-validate-with-xsd-017.xml"
        expected="fail"
        code="err:XC0152"
        features="p-validate-with-xsd">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>ab-validate-with-xsd-017</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2020-07-04</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Initial publication</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>Test p:validate-with-xml-schema raises error for invalid schema.</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-xml-schema>
            <p:with-input port="source" href="../documents/xsd-document.xml"/>
            <p:with-input port="schema">
               <invalid/>
            </p:with-input>
         </p:validate-with-xml-schema>
      </p:declare-step>
   </t:pipeline>
</t:test>
