Tests p:archive: XD0011 must be raised if resource mentioned in manifest does not exist.
Test ab-p-archive-071.xml is expected to fail with error code err:XD0011
.
<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" version="3.0">
<p:output port="result"/>
<p:archive format="zip" parameters="map{'command' : 'create'}">
<p:with-input port="source">
<p:empty/>
</p:with-input>
<p:with-input port="manifest">
<c:archive>
<c:entry name="a.xml" href="i-do-not-exist"/>
</c:archive>
</p:with-input>
<p:with-input port="archive">
<p:empty/>
</p:with-input>
</p:archive>
</p:declare-step>
Setting command to 'create' to make sure the error is raised.
This revision is necessary due to step spec change [11].
Tests for p:archive