Tests default value for missing @content-types on p:inline is "*/*".
Test ab-contenttypes-003.xml is expected to pass.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:input port="source">
<p:inline content-type="text/plain">Some text</p:inline>
</p:input>
<p:output port="result"/>
<p:wrap-sequence wrapper="result"/>
</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" prefix="p"/>
<s:ns uri="http://www.w3.org/ns/xproc-step" prefix="c"/>
<s:pattern>
<s:rule context="/">
<s:assert test="result">Root element is not result.</s:assert>
<s:assert test="/result/text()='Some text'">The root element does not have the right text child.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Added attribute 'queryBinding' to schematron's schema.
Corrected default of @content-types to be *.*
Added test to make sure p:pipe is no child of p:input. Making content-type statically in the last remaining tests.
Fix namespace declarations
Change test with document-properties to map{xs:QName, item()}
More tests.