cmdline-006

Simple test of the command-line testing framework.

Test is expected to fail with error code cxerr:XI0320.

The pipeline

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0"
                xmlns:xs="http://www.w3.org/2001/XMLSchema" version="3.0" name="main">
   <p:output port="result" primary="true"/>
   <p:output port="alternate" pipe="@alt"/>
   <p:identity name="alt">
      <p:with-input>
         <doc>alternate</doc>
      </p:with-input>
   </p:identity>
   <p:identity>
      <p:with-input>
         <doc>primary</doc>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

22 Feb 2026, Norm Tovey-Walsh
Created test.