<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="TimezoneFromDateTimeFunc" featureOwner="Frans Englich">
   <GroupInfo>
      <title>fn:timezone-from-dateTime</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-1" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function as per example 1 (for this function) of the Functions and Operators spec.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-1" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-2" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function as as per example 2 (for this function) of the Functions and operators spec.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-2" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-3" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function as as per example 3 (for this function) of the Functions and operators spec.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-3" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-4" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of a numeric-less-than expression (le operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-4" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-5" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-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.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-5" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-6" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function with argument set so the function returns a dayTimeDuration of 0.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-6" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-7" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function that uses a timezone of "-00:00".</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-7" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-8" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of an addition expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-8" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-8.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-9" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of a subtraction expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-9" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-9.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-10" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function as an argument to the "fn:not" function.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-10" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-10.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-11" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of a div expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-11" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-11.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-12" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function as an argument to the fn:number function. Should return NaN.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-12" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-12.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-13" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function used as an argument to the "fn:boolean" function.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-13" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-13.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-14" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function as an argument to the "fn:string" function.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-14" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-14.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-15" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of an "and" expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-15" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-15.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-16" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of a numeric-equal expression (eq operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-16" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-17" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of a numeric-equal expression (ne operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-17" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-17.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-18" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of a numeric-equal expression (le operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-18" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-18.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-19" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of a numeric-equal expression (ge operator).</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-19" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-19.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-timezone-from-dateTimealt-20" FilePath="Functions/DurationDateTimeFunc/TimezoneFromDateTimeFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "timezone-from-dateTime" function, which is part of an "or" expression.</description>
      <spec-citation spec="FuncOps" section-number="10.5.13" section-title="fn:timezone-from-dateTime" section-pointer="func-timezone-from-dateTime"/>
      <query name="fn-timezone-from-dateTimealt-20" date="2005-06-27"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">fn-timezone-from-dateTimealt-20.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-TimezoneFromDateTimeFunc-1" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/TimezoneFromDateTimeFunc/" scenario="runtime-error">
      <description>A test whose essence is: `timezone-from-dateTime()`.</description>
      <query name="K-TimezoneFromDateTimeFunc-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-TimezoneFromDateTimeFunc-2" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/TimezoneFromDateTimeFunc/" scenario="runtime-error">
      <description>A test whose essence is: `timezone-from-dateTime((), "Wrong param")`.</description>
      <query name="K-TimezoneFromDateTimeFunc-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-TimezoneFromDateTimeFunc-3" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/TimezoneFromDateTimeFunc/" scenario="standard">
      <description>A test whose essence is: `empty(timezone-from-dateTime(()))`.</description>
      <query name="K-TimezoneFromDateTimeFunc-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-TimezoneFromDateTimeFunc-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-TimezoneFromDateTimeFunc-4" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/TimezoneFromDateTimeFunc/" scenario="standard">
      <description>A test whose essence is: `timezone-from-dateTime(()) instance of xs:dayTimeDuration?`.</description>
      <query name="K-TimezoneFromDateTimeFunc-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-TimezoneFromDateTimeFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-TimezoneFromDateTimeFunc-5" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/TimezoneFromDateTimeFunc/" scenario="standard">
      <description>A test whose essence is: `timezone-from-dateTime(xs:dateTime("2004-10-12T23:43:12Z")) eq xs:dayTimeDuration("PT0S")`.</description>
      <query name="K-TimezoneFromDateTimeFunc-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-TimezoneFromDateTimeFunc-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-TimezoneFromDateTimeFunc-6" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/TimezoneFromDateTimeFunc/" scenario="standard">
      <description>A test whose essence is: `timezone-from-dateTime(xs:dateTime("2004-10-12T23:43:12-08:23")) eq xs:dayTimeDuration("-PT8H23M")`.</description>
      <query name="K-TimezoneFromDateTimeFunc-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-TimezoneFromDateTimeFunc-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-TimezoneFromDateTimeFunc-7" FilePath="Functions/DurationDateTimeFunc/ComponentExtractionDDT/TimezoneFromDateTimeFunc/" scenario="standard">
      <description>A test whose essence is: `empty(timezone-from-dateTime(xs:dateTime("2004-12-10T23:43:41.965")))`.</description>
      <query name="K-TimezoneFromDateTimeFunc-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-TimezoneFromDateTimeFunc-7.txt</output-file>
   </test-case>
</test-group>