<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="NodeNumberFunc" featureOwner="NIST and Frans Englich">
   <GroupInfo>
      <title>fn:number</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-numberint1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:int(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberint1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:int(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberint1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberint1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:int(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberintg1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:integer(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberintg1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberintg1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberintg1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:integer(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberintg1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberintg1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:integer(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberintg1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberintg1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberdec1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:decimal(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberdec1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberdec1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberdec1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:decimal(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberdec1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberdec1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:decimal(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberdec1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberdec1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberdbl1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:double(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberdbl1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberdbl1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberdbl1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:double(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberdbl1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberdbl1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberdbl1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:double(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberdbl1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberdbl1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberflt1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:float(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberflt1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberflt1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:float(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberflt1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberflt1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberflt1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:float(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberflt1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberflt1args-3.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberflt1argsalt-3.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberflt1argsalt1-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberlng1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:long(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberlng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberlng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberlng1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:long(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberlng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberlng1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:long(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberlng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberlng1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberusht1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:unsignedShort(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberusht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberusht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberusht1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:unsignedShort(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberusht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberusht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberusht1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:unsignedShort(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberusht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberusht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernint1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:negativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbernint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernint1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:negativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernint1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:negativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbernint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberpint1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:positiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberpint1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberpint1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberpint1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:positiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberpint1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberpint1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:positiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberpint1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberpint1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberulng1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:unsignedLong(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberulng1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberulng1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberulng1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:unsignedLong(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberulng1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numberulng1args-2.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-02.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-03.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-04.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-05.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-06.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-07.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-08.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-09.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-10.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-11.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-12.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-13.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-14.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-15.txt</output-file>
      <output-file role="principal" compare="Text">fn-numberulng1argsalt-2-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numberulng1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:unsignedLong(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numberulng1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernpi1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:nonPositiveInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernpi1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbernpi1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernpi1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:nonPositiveInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernpi1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbernpi1args-2.txt</output-file>
      <output-file role="principal" compare="Text">fn-numbernpi1argsalt-2.txt</output-file>
      <output-file role="principal" compare="Text">fn-numbernpi1argsalt1-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernpi1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:nonPositiveInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernpi1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbernpi1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernni1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:nonNegativeInteger(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernni1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbernni1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernni1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:nonNegativeInteger(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernni1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbernni1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:nonNegativeInteger(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbernni1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbernni1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbersht1args-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:short(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbersht1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbersht1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbersht1args-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:short(mid range).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbersht1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbersht1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-numbersht1args-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "number" function with the arguments set as follows: $arg = xs:short(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-numbersht1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-numbersht1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-number-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "fn:number" function with the argument set to empty sequence.</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-number-1" date="2005-09-20"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-number-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-number-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "fn:number" function with the argument set to a string (can not convert to xs:double).</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-number-2" date="2005-09-20"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-number-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="fn-number-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluates the "fn:number" function with undefined context node.</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-number-3" date="2005-09-20"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>XPDY0002</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="fn-number-4" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluates the "fn:number" function with undefined context node and argumen set to ".".</description>
      <spec-citation spec="FuncOps" section-number="14.4" section-title="fn:number" section-pointer="func-number"/>
      <query name="fn-number-4" date="2006-02-08"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>XPDY0002</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-1" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="runtime-error">
      <description>A test whose essence is: `number(1, 2)`.</description>
      <query name="K-NodeNumberFunc-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-NodeNumberFunc-2" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `fn:number(1) eq 1`.</description>
      <query name="K-NodeNumberFunc-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-3" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `not(fn:number("results in NaN"))`.</description>
      <query name="K-NodeNumberFunc-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-NodeNumberFunc-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-4" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `fn:number("results in NaN") instance of xs:double`.</description>
      <query name="K-NodeNumberFunc-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-NodeNumberFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-5" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `fn:number(1) instance of xs:double`.</description>
      <query name="K-NodeNumberFunc-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-NodeNumberFunc-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-6" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `fn:number(1.1) instance of xs:double`.</description>
      <query name="K-NodeNumberFunc-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-7" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `fn:number(xs:float(3)) instance of xs:double`.</description>
      <query name="K-NodeNumberFunc-7" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-8" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `fn:number(xs:double(3)) instance of xs:double`.</description>
      <query name="K-NodeNumberFunc-8" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-8.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-9" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `fn:number("NaN") instance of xs:double`.</description>
      <query name="K-NodeNumberFunc-9" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-9.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-10" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `fn:number(()) instance of xs:double`.</description>
      <query name="K-NodeNumberFunc-10" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-10.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-11" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `not(fn:number(()))`.</description>
      <query name="K-NodeNumberFunc-11" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-11.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-12" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>fn:number() applied to a type which a cast regardless of source value never would succeed for.</description>
      <query name="K-NodeNumberFunc-12" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-12.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-13" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `string(number(xs:anyURI("1"))) eq "NaN"`.</description>
      <query name="K-NodeNumberFunc-13" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-13.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-14" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `string(number("1")) eq "1"`.</description>
      <query name="K-NodeNumberFunc-14" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-14.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-15" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>A test whose essence is: `string(number(xs:gYear("2005"))) eq "NaN"`.</description>
      <query name="K-NodeNumberFunc-15" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-15.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-16" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>fn:number() inside a predicate.</description>
      <query name="K-NodeNumberFunc-16" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeNumberFunc-17" FilePath="Functions/NodeFunc/NodeNumberFunc/" scenario="standard">
      <description>fn:number() inside a predicate(#2).</description>
      <query name="K-NodeNumberFunc-17" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeNumberFunc-17.txt</output-file>
   </test-case>
</test-group>