<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="SeqCountFunc" featureOwner="Frans Englich">
   <GroupInfo>
      <title>fn:count</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-countint1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:int(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countint1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:int(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countint1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:int(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countintg1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:integer(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countintg1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countintg1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countintg1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:integer(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countintg1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countintg1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countintg1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:integer(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countintg1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countintg1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countdec1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:decimal(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countdec1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countdec1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countdec1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:decimal(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countdec1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countdec1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countdec1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:decimal(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countdec1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countdec1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countdbl1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:double(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countdbl1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countdbl1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countdbl1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:double(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countdbl1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countdbl1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countdbl1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:double(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countdbl1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countdbl1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countflt1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:float(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countflt1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countflt1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countflt1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:float(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countflt1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countflt1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countflt1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:float(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countflt1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countflt1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countlng1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:long(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countlng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countlng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countlng1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:long(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countlng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countlng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countlng1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:long(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countlng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countlng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countusht1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:unsignedShort(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countusht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countusht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countusht1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:unsignedShort(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countusht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countusht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countusht1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:unsignedShort(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countusht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countusht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnint1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:negativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnint1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:negativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnint1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:negativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countpint1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:positiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countpint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countpint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countpint1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:positiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countpint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countpint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countpint1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:positiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countpint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countpint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countulng1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:unsignedLong(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countulng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countulng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countulng1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:unsignedLong(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countulng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countulng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countulng1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:unsignedLong(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countulng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countulng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnpi1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:nonPositiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnpi1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnpi1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnpi1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:nonPositiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnpi1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnpi1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnpi1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:nonPositiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnpi1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnpi1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnni1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:nonNegativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnni1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnni1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnni1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:nonNegativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnni1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnni1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countnni1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:nonNegativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countnni1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countnni1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countsht1args-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:short(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countsht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countsht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countsht1args-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:short(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countsht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countsht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-countsht1args-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "count" function with the arguments set as follows: $arg = xs:short(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.4.1" section-title="fn:count" section-pointer="func-count"/>
      <query name="fn-countsht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-countsht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="runtime-error">
      <description>A test whose essence is: `count()`.</description>
      <query name="K-SeqCountFunc-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-SeqCountFunc-2" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="runtime-error">
      <description>A test whose essence is: `count(1, ())`.</description>
      <query name="K-SeqCountFunc-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-SeqCountFunc-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count( () ) eq 0`.</description>
      <query name="K-SeqCountFunc-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-SeqCountFunc-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-4" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count( (1, 2, 3) ) eq 3`.</description>
      <query name="K-SeqCountFunc-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-SeqCountFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-5" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count( (1, 2, ()) ) eq 2`.</description>
      <query name="K-SeqCountFunc-5" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-6" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count(()) eq 0`.</description>
      <query name="K-SeqCountFunc-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-7" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count(((((()))))) eq 0`.</description>
      <query name="K-SeqCountFunc-7" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-8" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count( (((), (), ()), (), (), (), ()) ) eq 0`.</description>
      <query name="K-SeqCountFunc-8" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-8.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-9" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count( (1, 2, 3) ) eq 3`.</description>
      <query name="K-SeqCountFunc-9" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-9.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-10" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count( ((), "one", 2, "three")) eq 3`.</description>
      <query name="K-SeqCountFunc-10" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-10.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-11" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count( ("one", (2, "three")) ) eq 3`.</description>
      <query name="K-SeqCountFunc-11" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-11.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-12" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count((1, 2)) eq 2`.</description>
      <query name="K-SeqCountFunc-12" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-12.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-13" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count((1, 2, 3, "four")) eq 4`.</description>
      <query name="K-SeqCountFunc-13" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-13.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-14" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count((1, 2, 3, "four")) eq 4`.</description>
      <query name="K-SeqCountFunc-14" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-14.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-15" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count(1 to 3) eq 3`.</description>
      <query name="K-SeqCountFunc-15" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-15.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-16" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count(reverse((1, 2, 3))) eq 3`.</description>
      <query name="K-SeqCountFunc-16" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-17" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `count(reverse((1, 2, 3))) eq 3`.</description>
      <query name="K-SeqCountFunc-17" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-17.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqCountFunc-18" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="standard">
      <description>A test whose essence is: `not(count((1, 2, current-time(), 4))) eq false()`.</description>
      <query name="K-SeqCountFunc-18" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqCountFunc-18.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-SeqCountFunc-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqCountFunc/" scenario="runtime-error">
      <description>fn:count() doesn't implicitly get the context node.</description>
      <query name="K2-SeqCountFunc-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-group>