<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-err-s0096-003.xml"
        name="ab-err-s0096-003.xml"
        expected="fail"
        code="err:XS0096">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>Error test XS0096 003</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2019-07-19T13:21:00-05:00</t:date>
            <t:author>
               <t:name>Norman Walsh</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Add declaration for the xs: namespace</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-08-10T18:12:26+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 and some changed 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 that XS0096 is raised when sequence type in @as on p:with-option is not valid: Wrong quantifier</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"
                      xmlns:xs="http://www.w3.org/2001/XMLSchema"
                      version="3.0">
         <p:output port="result"/>
         <p:add-attribute match="/" attribute-name="a">
            <p:with-input port="source">
               <doc/>
            </p:with-input>
            <p:with-option name="attribute-value" as="xs:integer-" select="5"/>
         </p:add-attribute>
      </p:declare-step>
   </t:pipeline>
</t:test>
