cast-content-type 008 (AB)
Test is expected to fail with error code err:XC0072.
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"
xmlns:t="http://xproc.org/ns/testsuite/3.0" name="pipeline" version="3.0">
<p:output port="result"/>
<p:cast-content-type content-type="application/octet-stream">
<p:with-input>
<c:data content-type="application/octet-stream">I am no base64.</c:data>
</p:with-input>
</p:cast-content-type>
</p:declare-step>
Revision history
- 28 Dec 2019, Achim Berndzen
Initial tests for the new iteration of p:cast-content-type