Bug 19466 - [QT3TS] fn-adjust-dateTime-to-timezone-3, 4
[QT3TS] fn-adjust-dateTime-to-timezone-3, 4
Status: CLOSED FIXED
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite
Working drafts
PC Windows NT
: P2 normal
: ---
Assigned To: O'Neil Delpratt
Mailing list for public feedback on specs from XSL and XML Query WGs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-11 12:16 UTC by Tim Mills
Modified: 2012-10-19 16:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mills 2012-10-11 12:16:59 UTC
A recent commit has changed the dependencies of tests fn-adjust-dateTime-to-timezone-3 and 4.  Because the test uses a let expression, they cannot be executed by an XP20 processor.

   <test-case name="fn-adjust-dateTime-to-timezone-3">
      <description>Test Description: Evaluates The "adjust-dateTime-to-timezone" function as per example 3 (for this function) of the F&amp;O specs. </description>
      <created by="Carmelo Montanez" on="2005-09-10"/>
      <environment ref="empty"/>
      <!--<dependency type="spec" value="XP30+ XQ30+"/>-->
      <test>let $tz := xs:dayTimeDuration("-PT10H") return fn:adjust-dateTime-to-timezone(xs:dateTime("2002-03-07T10:00:00"), $tz)</test>
      <result>
         <assert-string-value>2002-03-07T10:00:00-10:00</assert-string-value>
      </result>
   </test-case>

   <test-case name="fn-adjust-dateTime-to-timezone-4">
      <description>Test Description: Evaluates The "adjust-dateTime-to-timezone" function as per example 4 (for this function) of the F&amp;O specs. </description>
      <created by="Carmelo Montanez" on="2005-09-10"/>
      <environment ref="empty"/>
      <!--<dependency type="spec" value="XP30+ XQ30+"/>-->
      <test>let $tz := xs:dayTimeDuration("-PT10H") return fn:adjust-dateTime-to-timezone(xs:dateTime("2002-03-07T10:00:00-07:00"), $tz)</test>
      <result>
         <assert-string-value>2002-03-07T07:00:00-10:00</assert-string-value>
      </result>
Comment 1 Michael Kay 2012-10-19 15:20:25 UTC
O'Neil reverted this erroneous change a few days ago, but I'm now changing the dependency to the more accurate XP30+ XQ10+. (Note, this change arose from an exercise to find tests that claimed to be dependent on XQuery 3.0 but had no information as to what new feature they were testing.)
Comment 2 Tim Mills 2012-10-19 16:14:25 UTC
Thanks.