message-009
Test is expected to fail with error code err:XS0008.
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:s="http://purl.oclc.org/dsdl/schematron"
xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
<p:import href="https://xmlcalabash.com/ext/library/pipeline-messages.xpl"/>
<p:output port="result"/>
<p:identity>
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
<p:choose name="dep">
<p:when test="true()"
message="Element is {node-name(/*)}">
<p:identity/>
</p:when>
</p:choose>
<cx:pipeline-messages p:depends="dep" level="info"/>
</p:declare-step>
Revision history
- 24 Aug 2025, Norm Tovey-Walsh
Created test.