<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="DataFunc" featureOwner="Frans Englich">
   <GroupInfo>
      <title>fn:data</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-dataint1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:int(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataint1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:int(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataint1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:int(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataintg1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:integer(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataintg1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataintg1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataintg1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:integer(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataintg1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataintg1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataintg1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:integer(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataintg1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataintg1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datadec1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:decimal(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datadec1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datadec1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datadec1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:decimal(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datadec1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datadec1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datadec1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:decimal(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datadec1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datadec1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datadbl1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:double(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datadbl1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datadbl1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datadbl1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:double(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datadbl1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datadbl1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datadbl1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:double(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datadbl1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datadbl1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataflt1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:float(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataflt1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataflt1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataflt1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:float(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataflt1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataflt1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataflt1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:float(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataflt1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataflt1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datalng1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:long(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datalng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datalng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datalng1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:long(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datalng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datalng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datalng1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:long(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datalng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datalng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datausht1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:unsignedShort(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datausht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datausht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datausht1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:unsignedShort(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datausht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datausht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datausht1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:unsignedShort(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datausht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datausht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanint1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:negativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanint1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:negativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanint1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:negativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datapint1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:positiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datapint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datapint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datapint1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:positiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datapint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datapint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datapint1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:positiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datapint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datapint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataulng1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:unsignedLong(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataulng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataulng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataulng1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:unsignedLong(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataulng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataulng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-dataulng1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:unsignedLong(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-dataulng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-dataulng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanpi1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:nonPositiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanpi1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanpi1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanpi1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:nonPositiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanpi1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanpi1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanpi1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:nonPositiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanpi1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanpi1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanni1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:nonNegativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanni1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanni1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanni1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:nonNegativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanni1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanni1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datanni1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:nonNegativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datanni1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datanni1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datasht1args-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:short(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datasht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datasht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datasht1args-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:short(mid range).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datasht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datasht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-datasht1args-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "data" function with the arguments set as follows: $arg = xs:short(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="2.4" section-title="fn:data" section-pointer="func-data"/>
      <query name="fn-datasht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-datasht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-DataFunc-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="runtime-error">
      <description>A test whose essence is: `data()`.</description>
      <query name="K-DataFunc-1" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0017</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-DataFunc-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="runtime-error">
      <description>A test whose essence is: `data(1, "wrong param")`.</description>
      <query name="K-DataFunc-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0017</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-DataFunc-3" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard">
      <description>A test whose essence is: `count(data((1, 2, 3, 4, 5))) eq 5`.</description>
      <query name="K-DataFunc-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-DataFunc-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-DataFunc-4" FilePath="Functions/AccessorFunc/DataFunc/" scenario="standard">
      <description>A test whose essence is: `empty(data( () ))`.</description>
      <query name="K-DataFunc-4" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-DataFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-DataFunc-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="runtime-error">
      <description>fn:data() must be passed at least one argument.</description>
      <query name="K2-DataFunc-1" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0017</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-DataFunc-2" FilePath="Functions/AccessorFunc/DataFunc/" scenario="runtime-error">
      <description>fn:data() must be passed at most one argument.</description>
      <query name="K2-DataFunc-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0017</expected-error>
   </test-case>
   <test-case is-XPath2="false" Creator="Nicolae Brinza" name="fn-datacomplextype-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="runtime-error">
      <description>Evaluates The "data" function with the argument set to a complex element.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4273</reflects-resolution>
      <query name="fn-datacomplextype-1" date="2009-04-01+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>FOTY0012</expected-error>
   </test-case>
</test-group>