Features: p-validate-with-dtd

ab-validate-with-dtd-007

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

Test is expected to fail with error code err:XC0210.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" 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>

Revision history

15 Aug 2024, Achim Berndzen
Initial check in.