p:archive 072 (AB)
Test is expected to fail with error code err:XC0112.
The pipeline
<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step"
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" version="3.0">
<p:output port="result"/>
<p:archive format="zip">
<p:with-input port="source">
<p:empty/>
</p:with-input>
<p:with-input port="manifest">
<c:archive>
<c:entry name="a.xml" href="one"/>
</c:archive>
<c:archive>
<c:entry name="a.xml" href="one"/>
</c:archive>
</p:with-input>
<p:with-input port="archive">
<p:empty/>
</p:with-input>
</p:archive>
</p:declare-step>
Revision history
- 10 Jan 2025, Achim Berndzen
Simplied test by removing connection for 'source': No error is raised for relative URI. - 18 Oct 2019, Achim Berndzen
Tests for p:archive