<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-p-document012.xml"
        name="ab-p-document012.xml"
        expected="fail"
        code="err:XD0023">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>p:document 012</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2018-09-15T11:06:16+02:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Some tests changed and new tests</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-04-03T16:57:32+02:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Some new tests.</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Tests p:document with dtd-validate='true' and no DTD in doc: Fails according to issue #512.</p>
   </t:description>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         <p:identity>
            <p:with-input>
               <p:document href="../documents/ab-doc.xml" parameters="map{'dtd-validate': true()}"/>
            </p:with-input>
         </p:identity>
      </p:declare-step>
   </t:pipeline>
</t:test>
