<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="SeqExactlyOneFunc" featureOwner="Frans Englich">
   <GroupInfo>
      <title>fn:exactly-one</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-exactly-oneint1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:int(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneint1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:int(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneint1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:int(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneintg1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:integer(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneintg1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneintg1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneintg1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:integer(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneintg1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneintg1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneintg1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:integer(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneintg1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneintg1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onedec1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:decimal(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onedec1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onedec1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onedec1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:decimal(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onedec1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onedec1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onedec1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:decimal(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onedec1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onedec1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onedbl1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:double(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onedbl1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onedbl1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onedbl1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:double(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onedbl1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onedbl1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onedbl1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:double(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onedbl1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onedbl1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneflt1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:float(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneflt1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneflt1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneflt1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:float(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneflt1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneflt1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneflt1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:float(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneflt1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneflt1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onelng1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:long(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onelng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onelng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onelng1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:long(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onelng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onelng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onelng1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:long(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onelng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onelng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneusht1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:unsignedShort(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneusht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneusht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneusht1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:unsignedShort(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneusht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneusht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneusht1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:unsignedShort(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneusht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneusht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenint1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:negativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenint1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:negativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenint1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:negativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onepint1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:positiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onepint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onepint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onepint1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:positiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onepint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onepint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onepint1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:positiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onepint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onepint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneulng1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:unsignedLong(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneulng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneulng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneulng1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:unsignedLong(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneulng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneulng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-oneulng1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:unsignedLong(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-oneulng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-oneulng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenpi1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:nonPositiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenpi1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenpi1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenpi1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:nonPositiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenpi1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenpi1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenpi1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:nonPositiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenpi1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenpi1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenni1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:nonNegativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenni1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenni1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenni1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:nonNegativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenni1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenni1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onenni1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:nonNegativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onenni1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onenni1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onesht1args-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:short(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onesht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onesht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onesht1args-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:short(mid range).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onesht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onesht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-onesht1args-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the arguments set as follows: $arg = xs:short(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-onesht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-exactly-onesht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-exactly-one-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluates the "exactly-one" function with the argument set to a sequence with more than one item.</description>
      <spec-citation spec="FuncOps" section-number="15.2.3" section-title="fn:exactly-one" section-pointer="func-exactly-one"/>
      <query name="fn-exactly-one-1" date="2005-09-20"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>FORG0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExactlyOneFunc-1" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error">
      <description>A test whose essence is: `exactly-one(1, 2)`.</description>
      <query name="K-SeqExactlyOneFunc-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-SeqExactlyOneFunc-2" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error">
      <description>A test whose essence is: `exactly-one()`.</description>
      <query name="K-SeqExactlyOneFunc-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-SeqExactlyOneFunc-3" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error">
      <description>A test whose essence is: `exactly-one( (1, 2, 3) )`.</description>
      <query name="K-SeqExactlyOneFunc-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>FORG0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExactlyOneFunc-4" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard">
      <description>A test whose essence is: `exactly-one("one") eq "one"`.</description>
      <query name="K-SeqExactlyOneFunc-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-SeqExactlyOneFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExactlyOneFunc-5" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="standard">
      <description>A test whose essence is: `count(exactly-one( "one" )) eq 1`.</description>
      <query name="K-SeqExactlyOneFunc-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-SeqExactlyOneFunc-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExactlyOneFunc-6" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error">
      <description>A test whose essence is: `exactly-one(error())`.</description>
      <query name="K-SeqExactlyOneFunc-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>FOER0000</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExactlyOneFunc-7" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error">
      <description>A test whose essence is: `exactly-one((true(), error()))`.</description>
      <query name="K-SeqExactlyOneFunc-7" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>FOER0000</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExactlyOneFunc-8" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error">
      <description>A test whose essence is: `exactly-one(( error(), true()))`.</description>
      <query name="K-SeqExactlyOneFunc-8" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>FOER0000</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExactlyOneFunc-9" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error">
      <description>A test whose essence is: `exactly-one( () )`.</description>
      <query name="K-SeqExactlyOneFunc-9" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>FORG0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExactlyOneFunc-10" FilePath="Functions/SeqFunc/CardinalitySeqFunc/SeqExactlyOneFunc/" scenario="runtime-error">
      <description>No function by name zero-or-more exists.</description>
      <query name="K-SeqExactlyOneFunc-10" 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>