Testing p:document: Redirects must be followed.
Test ab-p-document-042.xml is expected to pass.
It requires the following features: webaccess.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:identity>
<p:with-input>
<p:document href="http://localhost:8246/service/this-is-a"/>
</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="doc">The document root is not 'doc'.</s:assert>
<s:assert test="doc/location">Document does not have a child element named 'location'</s:assert>
<s:assert test="doc/location/text()='This is d'">The text in element 'location' is not right.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Initial check in