Tests base URI of unarchived document is an absolute URI resolved by base URI.
Test ab-unarchive-021.xml is expected to pass.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
<p:output port="result"/>
<p:archive>
<p:with-input>
<p:inline>
<doc/>
</p:inline>
</p:with-input>
</p:archive>
<p:set-properties properties="map{'base-uri' : 'http://xproc.org/ns/testsuite'}"/>
<p:unarchive/>
<p:identity>
<p:with-input>
<result>{p:document-property(., 'base-uri')}</result>
</p:with-input>
</p:identity>
</p:declare-step>
<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:pattern>
<s:rule context="/">
<s:assert test="starts-with(result/text(), 'http://xproc.org/ns/testsuite/')">base URI is not the correct URI.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Added attribute 'queryBinding' to schematron's schema.
Additional tests for p:unarchive and p:archive-manifest