ab-validate-with-nvdl-004

Testing nvdl validation: Invalid document, so error should be raised because assert-valid is explicit.

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

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 assert-valid="true">
      <p:with-input port="source" href="../documents/NDVL-Book-invalid.xml"/>
      <p:with-input port="nvdl" href="../documents/NVDL.nvdl"/>
   </p:validate-with-nvdl>
</p:declare-step>
MorganaXProc passing XML Calabash failing

Revision history

20 Sep 2022, Achim Berndzen

Initial commit.