<?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:px="http://xproc.dev.java.net/ns/extensions"
      xmlns:c="http://www.w3.org/ns/xproc-step"
      xmlns:err="http://www.w3.org/ns/xproc-error"
      error="err:XC0027">
<t:title>Test for err:XC0027 - 001</t:title>

<t:description xmlns="http://www.w3.org/1999/xhtml">
  <p>Tests if dynamic error XC0027 is thrown if the document is not valid or the step doesn't support DTD validation.</p>  
</t:description>

<t:input port="source">
  <doc/>
</t:input>

<t:pipeline>
	<p:pipeline version='1.0' name="main" xmlns:p="http://www.w3.org/ns/xproc">
		<p:load href="../doc/address-invalid-sample.xml" dtd-validate="true"/>
	</p:pipeline>
</t:pipeline>

</t:test>

