Tests p:archive: No source, no manifest, no archive returns empty archives. command=update
Test ab-p-archive-016.xml is expected to pass.
<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:archive parameters="map{'command':'update'}">
<p:with-input port="source">
<p:empty/>
</p:with-input>
<p:with-input port="manifest">
<p:empty/>
</p:with-input>
<p:with-input port="archive">
<p:empty/>
</p:with-input>
</p:archive>
<p:archive-manifest relative-to="http://xproc.org/ns/testsuite"/>
</p:declare-step>
<s:schema xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:ns uri="http://www.w3.org/ns/xproc-step" prefix="c"/>
<s:pattern>
<s:rule context="/">
<s:assert test="c:archive">Root element is not c:archive.</s:assert>
<s:assert test="count(c:archive/c:entry)=0">Root element must have no entries 'c:entry'.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Added attribute 'queryBinding' to schematron's schema.
Added option "relative-to" to p:archive-manifest
Tests for p:archive