Features: p-validate-with-xsd

ab-validate-with-xsd-014

Test p:validate-with-xml-schema: unsupported version

Test is expected to fail with error code err:XC0011.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:validate-with-xml-schema version="999999"
                               mode="lax">
      <p:with-input port="source">
         <a xmlns="http://www.example.com"/>
      </p:with-input>
      <p:with-input port="schema">
         <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                    targetNamespace="http://www.example.com"/>
      </p:with-input>
   </p:validate-with-xml-schema>
</p:declare-step>

Revision history

05 Aug 2019, Achim Berndzen
Changed expected error code according to spec changes
01 Aug 2019, Achim Berndzen
Initial publication