Test p:validate-with-xml-schema raises error for invalid schema.
Test ab-validate-with-xsd-017.xml is expected to fail with error code err:XC0152
.
It requires the following features: p-validate-with-xsd.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
<p:output port="result"/>
<p:validate-with-xml-schema>
<p:with-input port="source" href="../documents/xsd-document.xml"/>
<p:with-input port="schema">
<invalid/>
</p:with-input>
</p:validate-with-xml-schema>
</p:declare-step>
Initial publication