p:inline 004

Test p-inline-004.xml is expected to fail with error code err:XS0069.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" 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>
   
MorganaXProc passing XML Calabash passing

Revision history

22 Oct 2018, Norman Walsh

Fixed syntax of pipe attribute.

12 Oct 2018, Achim Berndzen

Fixing broken test (namespace removed)

07 Jul 2018 17:01, Achim Berndzen

=Adapted tests to PR #422

03 Apr 2018 16:57, Achim Berndzen

Some new tests.

02 Feb 2018 17:42, Achim Berndzen

added new tests

09 Oct 2017 21:11, Norman Walsh

New p:inline tests

09 Oct 2017 21:10, Norman Walsh

New p:inline tests