pebble-004

Tests that the cx:pebble step works.

Test is expected to fail with error code err:XD0030.

The pipeline

<p:declare-step xmlns:cx="http://xmlcalabash.com/ns/extensions"
                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" exclude-inline-prefixes="cx"
                name="main" version="3.0">
   <p:import href="https://xmlcalabash.com/ext/library/pebble.xpl"/>
   <p:output port="result" sequence="true"/>
   <cx:pebble p:expand-text="false"
              strictVariables="true"
              context="map{'map': map{'greeting': 'Hello, world.'}}">
      <p:with-input>
         <doc>
            <greeting>{{ map.notGreeting }}</greeting>
         </doc>
      </p:with-input>
   </cx:pebble>
</p:declare-step>

Revision history

25 Dec 2025, Norm Tovey-Walsh
Created test.