cast-content-type 009 (AB)

Tests casting from an xml content type to a binary document: Error for no c:data/@content-type.

Test ab-cast-content-type-009.xml is expected to fail with error code err:XC0073.

The pipeline


<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:cast-content-type content-type="application/octet-stream">
      <p:with-input>
         <c:data>SSBhbSBqdXN0IGEgdGV4dC4=</c:data>
      </p:with-input>
   </p:cast-content-type>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

27 Dec 2019, Achim Berndzen

Initial tests for the new iteration of p:cast-content-type