<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0" xmlns:err="http://www.w3.org/ns/xproc-error" expected="fail" code="err:XS0069">
   <t:info>
      <t:title>p:inline 004</t:title>
      <t:revision-history>
         <t:revision initials="ndw">
            <t:date>2018-10-22</t:date>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Fixed syntax of <code>pipe</code> attribute.</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-10-12</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Fixing broken test (namespace removed)</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-07-07T17:01:39+02:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>=Adapted tests to PR #422</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-04-03T16:57:32+02:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Some new tests.</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-02-02T17:42:37+01:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>added new tests</p>
            </t:description>
         </t:revision>
         <t:revision initials="ndw">
            <t:date>2017-10-09T21:11:56-07:00</t:date>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>New p:inline tests</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2017-10-09T21:10:34-07:00</t:date>
            <t:author initials="ndw">
               <t:name>Norman Walsh</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>New p:inline tests</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:pipeline>
      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" name="main" version="3.0">
         <p:output port="result" sequence="true"/>

         <p:identity name="inline">
            <p:with-input port="source">
               <p:inline encoding="unknown" content-type="image/png">
iVBORw0KGgoAAAANSUhEUgAAAIAAAAAdCAYAAABixmRWAAAABGdBTUEAALGPC/xhBQAAACBjSFJN
      </p:inline>
            </p:with-input>
         </p:identity>

         <p:cast-content-type name="cast" content-type="application/xml">
            <p:with-input port="source" pipe="@inline"/>
         </p:cast-content-type>

         <p:wrap-sequence wrapper="c:result"/>
      </p:declare-step>
   </t:pipeline>
</t:test>
