ab-validate-with-relax-ng-020

Tests error is raised for invalid grammar.

Test ab-validate-with-relax-ng-020.xml is expected to fail with error code err:XC0153.

It requires the following features: p-validate-with-relax-ng.

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-relax-ng>
      <p:with-input port="source">
         <doc>
            <title>Title</title>
            <p id="foo">Some paragraph.</p>
            <p idref="foo">Some other paragraph</p>
         </doc>
      </p:with-input>
      <p:with-input port="schema">
         <invalid/>
      </p:with-input>
   </p:validate-with-relax-ng>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

04 Jul 2020, Achim Berndzen

Initial publication