<?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:XC0052">
  
  <t:title>Test err:XC0052 #001</t:title>

  <t:description xmlns="http://www.w3.org/1999/xhtml">
    <p>It is a dynamic error if the encoding specified
    is not supported by the implementation.</p>
  </t:description>
  
  <t:pipeline>
    <p:declare-step version='1.0'>
      <p:http-request>
        <p:input port="source">
          <p:inline>
            <c:request method="POST" href="http://whatever">
              <c:body content-type="image/png" encoding="unsupported">foo</c:body>
            </c:request>
          </p:inline>
        </p:input>
      </p:http-request>
      <p:sink/>
    </p:declare-step>
  </t:pipeline>
  
</t:test>

