This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19466 - [QT3TS] fn-adjust-dateTime-to-timezone-3, 4
Summary: [QT3TS] fn-adjust-dateTime-to-timezone-3, 4
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-11 12:16 UTC by Tim Mills
Modified: 2012-10-19 16:14 UTC (History)
1 user (show)

See Also:


Attachments

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.