<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-with-input-058.xml"
        name="ab-with-input-058.xml"
        expected="fail"
        code="err:XS0003 err:XS0032">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>with-input-058</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2018-06-02T17:53:51-05:00</t:date>
            <t:author>
               <t:name>Norman Walsh</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Fix namespace declarations</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-05-02T18:16:03+02:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Change test with document-properties to map{xs:QName, item()}</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-02-02T17:42:37+01:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>added 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:with-input: Tests error XS0003 is raised if non-primary input port is not connected.</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:insert match="/doc" position="first-child">
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:insert>
      </p:declare-step>
   </t:pipeline>
</t:test>
