<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="MonthFromDateTimeFunc" featureOwner="Frans Englich">
   <GroupInfo>
      <title>fn:month-from-dateTime</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-month-from-dateTime1args-1" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function with the arguments set as follows: $arg = xs:dateTime(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime1args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime1args-2" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function with the arguments set as follows: $arg = xs:dateTime(mid range).</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime1args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime1args-3" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function with the arguments set as follows: $arg = xs:dateTime(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime1args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-1" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function as per example 1 (of this function) of the Functions Operators spec.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-1" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-2" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function as per example 2(of this function) of the Functions Operators spec.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-2" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-3" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function as per example 3 (of this function) of the Functions Operators spec.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-3" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-4" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function used as an argument of an avg function.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-4" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-5" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function using empty sequence as argument. Use of fn:count to avoid empty file.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-5" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-6" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function with argument set so that function returns 1.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-6" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-7" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function with argument set so the function returns 12. Use Zulu.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-7" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-8" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of an addition expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-8" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-8.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-9" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a subtraction expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-9" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-9.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTimeNew-10" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a multiplication expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTimeNew-10" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTimeNew-10.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-11" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a div expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-11" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-11.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-12" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of an idiv expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-12" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-12.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-13" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a mod expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-13" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-13.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-14" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a numeric-unary-plus expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-14" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-14.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-15" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a numeric-unary-minus expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-15" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-15.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-16" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a numeric-equal expression (eq operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-16" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-17" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a numeric-equal expression (ne operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-17" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-17.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-18" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a numeric-equal expression (le operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-18" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-18.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-month-from-dateTime-19" FilePath="Functions/DurationDateTimeFunc/MonthFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "month-from-dateTime" function, which is part of a numeric-equal expression (ge operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.8" section-title="fn:month-from-dateTime" section-pointer="func-month-from-dateTime"/>
      <query name="fn-month-from-dateTime-19" date="2005-08-06"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-month-from-dateTime-19.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-MonthFromDateTimeFunc-1" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/MonthFromDateTimeFunc/" scenario="runtime-error">
      <description>A test whose essence is: `month-from-dateTime()`.</description>
      <query name="K-MonthFromDateTimeFunc-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-MonthFromDateTimeFunc-2" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/MonthFromDateTimeFunc/" scenario="runtime-error">
      <description>A test whose essence is: `month-from-dateTime((), "Wrong param")`.</description>
      <query name="K-MonthFromDateTimeFunc-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-MonthFromDateTimeFunc-3" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/MonthFromDateTimeFunc/" scenario="standard">
      <description>A test whose essence is: `empty(month-from-dateTime(()))`.</description>
      <query name="K-MonthFromDateTimeFunc-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-MonthFromDateTimeFunc-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-MonthFromDateTimeFunc-4" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/MonthFromDateTimeFunc/" scenario="standard">
      <description>A test whose essence is: `month-from-dateTime(()) instance of xs:integer?`.</description>
      <query name="K-MonthFromDateTimeFunc-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-MonthFromDateTimeFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-MonthFromDateTimeFunc-5" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/MonthFromDateTimeFunc/" scenario="standard">
      <description>A test whose essence is: `month-from-dateTime(xs:dateTime("2001-02-03T08:23:12.43")) eq 2`.</description>
      <query name="K-MonthFromDateTimeFunc-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-MonthFromDateTimeFunc-5.txt</output-file>
   </test-case>
</test-group>