ab-validate-with-nvdl-010

Testing nvdl validation: Valid document, invalid nvdl, non existing include.

Test ab-validate-with-nvdl-010.xml is expected to fail with error code err:XC0154.

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

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-nvdl>
      <p:with-input port="source" href="../documents/NDVL-Book-valid.xml"/>
      <p:with-input port="nvdl">
         <rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0">
            <namespace ns="http://xproc.org/ns/testsuite/3.0/book">
               <validate schema="../documents/NVDL-Book.rng"/>
               <validate schema="../documents/i-do-not-exist.xxx"/>
            </namespace>
            <namespace ns="http://xproc.org/ns/testsuite/3.0/comments">
               <validate schema="../documents/NVDL-Comments.xsd"/>
            </namespace>
         </rules>
      </p:with-input>
   </p:validate-with-nvdl>
</p:declare-step>
MorganaXProc passing XML Calabash failing

Revision history

20 Sep 2022, Achim Berndzen

Initial commit.