<?xml version="1.0" encoding="UTF-8"?>
<t:test expected="fail" code="err:XC0156" 
        xmlns:err="http://www.w3.org/ns/xproc-error"
        xmlns:t="http://xproc.org/ns/testsuite/3.0"
        features="p-validate-with-xsd">
   <t:info>
      <t:title>ab-validate-with-xsd-020</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2022-05-24</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Initial version.</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml">
      <p>Tests p:validate-with-xml-schema with use-location-hints.</p>
   </t:description>
   <t:pipeline>
      <p:declare-step version="3.0"
                      xmlns:p="http://www.w3.org/ns/xproc"
                      exclude-inline-prefixes="#all">
         <p:output port="result"/>
         <p:validate-with-xml-schema use-location-hints="true">
            <p:with-input>
               <test:doc xmlns:test="http://test.test"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://test.test i-do-not-exist" />
            </p:with-input>
            <p:with-input port="schema"><p:empty /></p:with-input>
         </p:validate-with-xml-schema>
      </p:declare-step>
   </t:pipeline>
</t:test>