<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="FloorFunc" featureOwner="Frans Englich">
   <GroupInfo>
      <title>fn:floor</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-floorint1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:int(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorint1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:int(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorint1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:int(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorintg1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:integer(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorintg1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorintg1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorintg1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:integer(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorintg1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorintg1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorintg1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:integer(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorintg1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorintg1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floordec1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:decimal(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floordec1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floordec1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floordec1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:decimal(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floordec1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floordec1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floordec1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:decimal(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floordec1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floordec1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floordbl1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:double(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floordbl1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floordbl1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floordbl1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:double(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floordbl1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floordbl1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floordbl1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:double(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floordbl1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floordbl1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorflt1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:float(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorflt1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorflt1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorflt1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:float(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorflt1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorflt1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorflt1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:float(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorflt1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorflt1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorlng1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:long(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorlng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorlng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorlng1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:long(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorlng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorlng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorlng1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:long(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorlng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorlng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorusht1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:unsignedShort(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorusht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorusht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorusht1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:unsignedShort(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorusht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorusht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorusht1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:unsignedShort(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorusht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorusht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornint1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:negativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornint1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:negativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornint1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:negativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorpint1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:positiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorpint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorpint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorpint1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:positiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorpint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorpint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorpint1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:positiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorpint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorpint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorulng1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:unsignedLong(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorulng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorulng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorulng1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:unsignedLong(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorulng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorulng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorulng1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:unsignedLong(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorulng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorulng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornpi1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:nonPositiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornpi1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornpi1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornpi1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:nonPositiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornpi1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornpi1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornpi1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:nonPositiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornpi1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornpi1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornni1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:nonNegativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornni1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornni1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornni1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:nonNegativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornni1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornni1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floornni1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:nonNegativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floornni1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floornni1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorsht1args-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:short(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorsht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorsht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorsht1args-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:short(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorsht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorsht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-floorsht1args-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "floor" function with the arguments set as follows: $arg = xs:short(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.3" section-title="fn:floor" section-pointer="func-floor"/>
      <query name="fn-floorsht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-floorsht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-FloorFunc-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="runtime-error">
      <description>A test whose essence is: `floor()`.</description>
      <query name="K-FloorFunc-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-FloorFunc-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="runtime-error">
      <description>A test whose essence is: `floor(1, 2)`.</description>
      <query name="K-FloorFunc-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-FloorFunc-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>A test whose essence is: `empty(floor(()))`.</description>
      <query name="K-FloorFunc-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-FloorFunc-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-FloorFunc-4" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>A test whose essence is: `floor(10.5) eq 10`.</description>
      <query name="K-FloorFunc-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-FloorFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-FloorFunc-5" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>A test whose essence is: `floor(-10.5) eq -11`.</description>
      <query name="K-FloorFunc-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-FloorFunc-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-FloorFunc-6" FilePath="Functions/NumericFunc/FloorFunc/" scenario="runtime-error">
      <description>A test whose essence is: `floor("a string")`.</description>
      <query name="K-FloorFunc-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPTY0004</expected-error>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred.</description>
      <query name="K2-FloorFunc-1" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-1.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-1-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-2" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for unsignedShort.</description>
      <query name="K2-FloorFunc-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-2.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-2-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-3" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for unsignedLong.</description>
      <query name="K2-FloorFunc-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-3.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-3-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-4" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for unsignedInt.</description>
      <query name="K2-FloorFunc-4" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-4.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-4-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-5" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for unsignedByte.</description>
      <query name="K2-FloorFunc-5" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-5.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-5-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-6" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for positiveInteger.</description>
      <query name="K2-FloorFunc-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-6.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-6-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-7" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for nonPositiveInteger.</description>
      <query name="K2-FloorFunc-7" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-7.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-7-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-8" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for nonNegativeInteger.</description>
      <query name="K2-FloorFunc-8" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-8.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-8-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-9" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for negativeInteger.</description>
      <query name="K2-FloorFunc-9" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-9.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-9-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-10" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for long.</description>
      <query name="K2-FloorFunc-10" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-10.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-10-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-11" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for int.</description>
      <query name="K2-FloorFunc-11" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-11.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-11-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-12" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for short.</description>
      <query name="K2-FloorFunc-12" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-12.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-12-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-FloorFunc-13" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for byte.</description>
      <query name="K2-FloorFunc-13" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-13.txt</output-file>
      <output-file role="principal" compare="Text">K2-FloorFunc-13-2.txt</output-file>
   </test-case>
	<test-case is-XPath2="false" Creator="Oliver Hallam" name="fn-floor-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
		<description>check dynamic type of fn:floor on argument of union of numeric types.</description>
		<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
		<query name="fn-floor-1" date="2010-03-15"/>
		<output-file role="principal" compare="Text">fn-floor-1.txt</output-file>
	</test-case>
</test-group>