<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="DateTimeAddDTD" featureOwner="Frans Englich">
   <GroupInfo>
      <title>op:add-dayTimeDuration-to-dateTime</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime2args-1" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator with the arguments set as follows: $arg1 = xs:dateTime(lower bound) $arg2 = xs:dayTimeDuration(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime2args-1" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime2args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime2args-2" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator with the arguments set as follows: $arg1 = xs:dateTime(mid range) $arg2 = xs:dayTimeDuration(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime2args-2" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime2args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime2args-3" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator with the arguments set as follows: $arg1 = xs:dateTime(upper bound) $arg2 = xs:dayTimeDuration(lower bound).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime2args-3" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime2args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime2args-4" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator with the arguments set as follows: $arg1 = xs:dateTime(lower bound) $arg2 = xs:dayTimeDuration(mid range).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime2args-4" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime2args-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime2args-5" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator with the arguments set as follows: $arg1 = xs:dateTime(lower bound) $arg2 = xs:dayTimeDuration(upper bound).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime2args-5" date="2004-12-13"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime2args-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-1" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator as per example 1 (for this function) of the Functions and Operators spec.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-1" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-2" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator as part of a boolean expression (and operator) and the "fn:false" function.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-2" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-3" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" opeartor as part of a boolean expression (or operator) and the "fn:false" function.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-3" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-4" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator used in conjunction with the "fn:not" function.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-4" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-5" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator as an argument to the "fn:boolean" function.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-5" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-6" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator as an argument to the "fn:number" function.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-6" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-7" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator as an argument to the "fn:string" function.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-7" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-8" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator that returns a negative value.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-8" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-8.txt</output-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTimealt-8.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-9" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator, which is part of an "and" expression.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-9" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-9.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-10" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" operator as part of an "or" expression.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-10" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-10.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-12" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" function used in conjunction with a boolean expression and the "fn:true" function.</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-12" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-12.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-13" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" function, which is part of a numeric-equal expression (eq operator).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-13" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-13.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-14" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" function, which is part of a numeric-equal expression (ne operator).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-14" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-14.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-15" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" function, which is part of a numeric-equal expression (le operator).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-15" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-15.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="op-add-dayTimeDuration-to-dateTime-16" FilePath="Expressions/Operators/ArithExpr/DurationArith/DateTimeAddDTD/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates the "op:add-dayTimeDuration-to-dateTime" function, which is part of a numeric-equal expression (ge operator).</description>
      <spec-citation spec="FuncOps" section-number="10.8.5" section-title="op:add-dayTimeDuration-to-dateTime" section-pointer="func-add-dayTimeDuration-to-dateTime"/>
      <query name="op-add-dayTimeDuration-to-dateTime-16" date="2005-07-01"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">op-add-dayTimeDuration-to-dateTime-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-DateTimeAddDTD-1" FilePath="Expressions/Operators/ArithExpr/DurationDateTimeArith/DateTimeAddDTD/" scenario="runtime-error">
      <description>The '+' operator is not available between xs:date and xs:dateTime.</description>
      <query name="K-DateTimeAddDTD-1" 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 is-XPath2="true" Creator="Frans Englich" name="K-DateTimeAddDTD-2" FilePath="Expressions/Operators/ArithExpr/DurationDateTimeArith/DateTimeAddDTD/" scenario="runtime-error">
      <description>The '+' operator is not available between xs:dateTime and xs:date.</description>
      <query name="K-DateTimeAddDTD-2" 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 is-XPath2="true" Creator="Frans Englich" name="K-DateTimeAddDTD-3" FilePath="Expressions/Operators/ArithExpr/DurationDateTimeArith/DateTimeAddDTD/" scenario="runtime-error">
      <description>The '+' operator is not available between xs:time and xs:dateTime.</description>
      <query name="K-DateTimeAddDTD-3" 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 is-XPath2="true" Creator="Frans Englich" name="K-DateTimeAddDTD-4" FilePath="Expressions/Operators/ArithExpr/DurationDateTimeArith/DateTimeAddDTD/" scenario="runtime-error">
      <description>The '+' operator is not available between xs:dateTime and xs:time.</description>
      <query name="K-DateTimeAddDTD-4" 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-group>