ab-validate-with-dtd-008

Test DTD validation: Error needs to be raised for no non existing DTD.

Test ab-validate-with-dtd-008.xml is expected to fail with error code err:XC0210.

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

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-dtd serialization="map{'doctype-system' : 'i-do-not-exist'}">
      <p:with-input>
         <p:inline>
            <address>
               <first>Douglas</first>
               <last>Adams</last>
               <phone>42</phone>
            </address>
         </p:inline>
      </p:with-input>
   </p:validate-with-dtd>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

15 Aug 2024, Achim Berndzen

Initial check in.