Tests p:validate-with-xml-schema with use-location-hints.
Test ab-validate-with-xsd-021.xml is expected to fail with error code err:XC0156
.
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" version="3.0" exclude-inline-prefixes="#all">
<p:output port="result"/>
<p:validate-with-xml-schema use-location-hints="false">
<p:with-input>
<test:doc xmlns:test="http://test.test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://test.test ../documents/test.xsd"/>
</p:with-input>
<p:with-input port="schema">
<xsd:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://some-namespace" elementFormDefault="qualified">
<xsd:element name="other-doc" type="xs:string"/>
</xsd:schema>
</p:with-input>
</p:validate-with-xml-schema>
</p:declare-step>
Initial version.