ab-validate-with-xsd-009

Test p:validate-with-xml-schema with try-namespaces="false"

Test ab-validate-with-xsd-009.xml is expected to fail with error code err:XC0156.

It requires the following features: p-validate-with-xsd.

The pipeline


<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 try-namespaces="false">
      <p:with-input port="source" href="../documents/document-ns.xml"/>
      <p:with-input port="schema">
         <p:empty/>
      </p:with-input>
   </p:validate-with-xml-schema>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

05 Jul 2020, Achim Berndzen

Changed expected error code

02 Jul 2020, Achim Berndzen

Setting try-namespace explicitly to false to distinguised this from the ..xsd-008.

01 Aug 2019, Achim Berndzen

Initial publication