<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-variable-009.xml"
        name="ab-variable-009.xml"
        expected="fail"
        code="err:XS0081">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>Variable declaration 009</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-02-04T17:23:02+01: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 fro p:variable</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 a variable declaration does not have @href and an explicit inline as child.</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:variable name="var" select="4" href="some-uri">
            <p:inline>
               <doc/>
            </p:inline>
         </p:variable>
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:declare-step>
   </t:pipeline>
</t:test>
