ab-validate-with-dtd-007

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

Test ab-validate-with-dtd-007.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>
      <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.