message-006
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:try name="dep">
<p:error code="Q{}bang"/>
<p:catch message="Not allowed here">
<p:identity/>
</p:catch>
</p:try>
<cx:pipeline-messages p:depends="dep" level="info"/>
</p:declare-step>
Revision history
- 24 Aug 2025, Norm Tovey-Walsh
Created test.