<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite"
        xmlns:p="http://www.w3.org/ns/xproc"
        xmlns:c="http://www.w3.org/ns/xproc-step"
        xmlns:err="http://www.w3.org/ns/xproc-error"
	error="err:XC0054">

<t:title>Test err:XC0054 - #001</t:title>

<t:input port="source"
	 href="../doc/docbook-invalid.xml"/>

<t:input port="schema"
	 href="../doc/docbook.sch"/>

<t:pipeline>
<p:declare-step version='1.0' name="main" exclude-inline-prefixes="t c err">
<p:input port="parameters" kind="parameter"/>
<p:input port="source"/>
<p:input port="schema"/>
<p:output port="result">
  <p:pipe step="schematron" port="report"/>
</p:output>

<p:validate-with-schematron name="schematron" assert-valid="true">
  <p:input port="source">
    <p:pipe step="main" port="source"/>
  </p:input>
  <p:input port="schema">
    <p:pipe step="main" port="schema"/>
  </p:input>
</p:validate-with-schematron>

<p:sink/>

</p:declare-step>
</t:pipeline>

</t:test>

