viewport-029 (AB)

Test p:viewport raises XD0073 is raised if subpipeline result is not xml, html, or text document.

Test ab-viewport-029.xml is expected to fail with error code err:XD0073.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:viewport match="para">
      <p:with-input>
         <doc>
            <para>A para.</para>
         </doc>
      </p:with-input>
      <p:identity>
         <p:with-input>
            <p:inline content-type="application/octet-stream">7349823793749</p:inline>
         </p:with-input>
      </p:identity>
   </p:viewport>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

18 Sep 2019, Achim Berndzen

Additional tests for p:viewport (partly ported from 1.0)