<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="CeilingFunc" featureOwner="Frans Englich">
   <GroupInfo>
      <title>fn:ceiling</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-ceilingint1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:int(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingint1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:int(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingint1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:int(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingintg1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:integer(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingintg1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingintg1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingintg1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:integer(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingintg1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingintg1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingintg1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:integer(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingintg1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingintg1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingdec1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:decimal(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingdec1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingdec1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingdec1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:decimal(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingdec1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingdec1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingdec1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:decimal(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingdec1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingdec1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingdbl1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:double(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingdbl1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingdbl1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingdbl1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:double(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingdbl1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingdbl1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingdbl1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:double(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingdbl1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingdbl1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingflt1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:float(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingflt1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingflt1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingflt1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:float(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingflt1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingflt1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingflt1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:float(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingflt1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingflt1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilinglng1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:long(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilinglng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilinglng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilinglng1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:long(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilinglng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilinglng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilinglng1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:long(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilinglng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilinglng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingusht1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:unsignedShort(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingusht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingusht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingusht1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:unsignedShort(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingusht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingusht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingusht1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:unsignedShort(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingusht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingusht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnint1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:negativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnint1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:negativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnint1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:negativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingpint1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:positiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingpint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingpint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingpint1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:positiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingpint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingpint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingpint1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:positiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingpint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingpint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingulng1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:unsignedLong(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingulng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingulng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingulng1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:unsignedLong(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingulng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingulng1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingulng1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:unsignedLong(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingulng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingulng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnpi1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:nonPositiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnpi1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnpi1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnpi1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:nonPositiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnpi1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnpi1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnpi1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:nonPositiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnpi1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnpi1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnni1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:nonNegativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnni1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnni1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnni1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:nonNegativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnni1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnni1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingnni1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:nonNegativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingnni1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingnni1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingsht1args-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:short(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingsht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingsht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingsht1args-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:short(mid range).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingsht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingsht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-ceilingsht1args-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:short(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="6.4.2" section-title="fn:ceiling" section-pointer="func-ceiling"/>
      <query name="fn-ceilingsht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-ceilingsht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-CeilingFunc-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="runtime-error">
      <description>A test whose essence is: `ceiling()`.</description>
      <query name="K-CeilingFunc-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-CeilingFunc-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="runtime-error">
      <description>A test whose essence is: `ceiling(1, 2)`.</description>
      <query name="K-CeilingFunc-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-CeilingFunc-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>A test whose essence is: `empty(ceiling(()))`.</description>
      <query name="K-CeilingFunc-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-CeilingFunc-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-CeilingFunc-4" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>A test whose essence is: `ceiling(10.5) eq 11`.</description>
      <query name="K-CeilingFunc-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-CeilingFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-CeilingFunc-5" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>A test whose essence is: `ceiling(-10.5) eq -10`.</description>
      <query name="K-CeilingFunc-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-CeilingFunc-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-CeilingFunc-6" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="runtime-error">
      <description>A test whose essence is: `ceiling("a string")`.</description>
      <query name="K-CeilingFunc-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-CeilingFunc-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for unsignedShort.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-1.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-1-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-2" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for unsignedLong.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-2.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-2-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-3" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for unsignedInt.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-3.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-3-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-4" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for unsignedByte.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-4.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-4-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-5" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for positiveInteger.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-5.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-5-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-6" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for nonPositiveInteger.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-6.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-6-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-7" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for nonNegativeInteger.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-7.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-7-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-8" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for negativeInteger.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-8.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-8-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-9" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for long.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-9.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-9-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-10" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for int.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-10.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-10-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-11" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for short.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-11.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-11-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CeilingFunc-12" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
      <description>Ensure the return type is properly inferred for byte.</description>
      <query name="K2-CeilingFunc-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-CeilingFunc-12.txt</output-file>
      <output-file role="principal" compare="Text">K2-CeilingFunc-12-2.txt</output-file>
   </test-case>
	<test-case is-XPath2="false" Creator="Oliver Hallam" name="fn-ceiling-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
		<description>check dynamic type of fn:ceiling 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-ceiling-1" date="2010-03-15"/>
		<output-file role="principal" compare="Text">fn-ceiling-1.txt</output-file>
	</test-case>
</test-group>