p:encode 004

Test nw-encode-004.xml is expected to fail with error code err:XC0052.

The pipeline


<p:declare-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:encode encoding="not-a-valid-encoding">
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:encode>
</p:declare-step>

Revision history

01 Feb 2025, Norm Tovey-Walsh

Test the p:encode step.