ab-inline-013

Tests an error is raised for an invalid media type in @content-type.

Test ab-inline-013.xml is expected to fail with error code err:XD0079 [XProc, Core steps].

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
      
         <p:identity>
            <p:with-input>
               <p:inline content-type="text">This is a binary, if any.</p:inline>
            </p:with-input>
         </p:identity>
      
      </p:declare-step>
   
MorganaXProc passing

Revision history

29 Jun 2020, Achim Berndzen

Added tests for content-type as media type