Tests p:namespace-rename
Test ab-namespace-rename-014.xml is expected to pass.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:input port="source"/>
<p:output port="result"/>
<p:namespace-rename from="http://foo.com" to="http://bar.com" apply-to="attributes"/>
</p:declare-step>
<d:doc xmlns:d="http://foo.com" d:attr="val"/>
<s:schema xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:ns uri="http://foo.com" prefix="foo"/>
<s:ns uri="http://bar.com" prefix="bar"/>
<s:pattern>
<s:rule context="/">
<s:assert test="foo:doc">The root element is not 'Q{http://foo.com}doc'.</s:assert>
<s:assert test="*/@bar:attr">Root does not have an attribute Q{http://bar.com}attr.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Added attribute 'queryBinding' to schematron's schema.
Ported tests for p:namespace-rename