Test that the result of p:os-exec has no base URI.
Test nw-base-uri-025.xml is expected to pass.
It requires the following features: mac/linux or os-exec.
<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:os-exec command="/bin/cat">
<p:with-input>
<doc/>
</p:with-input>
</p:os-exec>
<p:cast-content-type content-type="application/xml">
<p:with-input select="p:document-properties(.)"/>
</p:cast-content-type>
</p:declare-step>
<s:schema xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:ns prefix="fn" uri="http://www.w3.org/2005/xpath-functions"/>
<s:pattern>
<s:rule context="/">
<s:assert test="fn:map">Document element is wrong</s:assert>
</s:rule>
</s:pattern>
<s:pattern>
<s:rule context="/fn:map">
<s:assert test="not(exists(*[@key='base-uri']))">There should be no base-uri property</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Created test