Tests that cx:collection-manager fails if the collection contains duplicate URIs.
Test collmgr-002.xml is expected to fail with error code cxerr:XC0004.
<p:declare-step xmlns:cx="http://xmlcalabash.com/ns/extensions" xmlns:cxerr="http://xmlcalabash.com/ns/error" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:import href="https://xmlcalabash.com/ext/library/collection-manager.xpl"/>
<p:output port="result"/>
<!-- N.B. The test-driver does not make inline URIs unique -->
<cx:collection-manager source="http://example.com/c1">
<p:with-input>
<p:inline>
<doc/>
</p:inline>
<p:inline>
<doc/>
</p:inline>
</p:with-input>
</cx:collection-manager>
</p:declare-step>
Created test.