ab-inline-015

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

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

The pipeline


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

Revision history

29 Jun 2020, Achim Berndzen

Added tests for content-type as media type