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 2352 - op-subtract-dayTimeDurations-2 should fail FORG0006
Summary: op-subtract-dayTimeDurations-2 should fail FORG0006
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 11:05 UTC by Michael Kay
Modified: 2005-10-29 09:20 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-18 11:05:43 UTC
The expected results for op-subtract-dayTimeDurations-2 show successful
execution, but the test should fail FORG0006 because the EBV of a duration is
not defined.

Michael Kay
Comment 1 Michael Kay 2005-10-18 11:14:10 UTC
Applies also to:
  op-multiply-dayTimeDuration-2
  op-multiply-dayTimeDuration-12
  op-divide-dayTimeDuration-2
Comment 2 Michael Kay 2005-10-18 13:30:03 UTC
Also affects:

   op-subtract-dates-yielding-DTD-4
Comment 3 Michael Kay 2005-10-18 13:41:11 UTC
Also affects

   op-add-yearMonthDuration-to-dateTime-2
   op-add-yearMonthDuration-to-dateTime-3
   op-add-yearMonthDuration-to-dateTime-4
   op-add-yearMonthDuration-to-dateTimealt-5
   op-add-yearMonthDuration-to-dateTime-9
   op-add-yearMonthDuration-to-dateTime-10
   op-add-yearMonthDuration-to-dateTime-12
Comment 4 Michael Kay 2005-10-18 13:45:22 UTC
Also affects:

op-add-dayTimeDuration-to-dateTime-2
op-add-dayTimeDuration-to-dateTime-3
op-add-dayTimeDuration-to-dateTime-4
op-add-dayTimeDuration-to-dateTime-5
op-add-dayTimeDuration-to-dateTime-9
op-add-dayTimeDuration-to-dateTime-10
op-add-dayTimeDuration-to-dateTime-12
Comment 5 Michael Kay 2005-10-18 13:50:05 UTC
Also affects

op-subtract-yearMonthDuration-from-dateTime-2
op-subtract-yearMonthDuration-from-dateTime-3
op-subtract-yearMonthDuration-from-dateTime-4
op-subtract-yearMonthDuration-from-dateTime-5
op-subtract-yearMonthDuration-from-dateTime-9
op-subtract-yearMonthDuration-from-dateTime-10
op-subtract-yearMonthDuration-from-dateTime-12
Comment 6 Michael Kay 2005-10-18 13:51:53 UTC
Also affects:

op-subtract-dayTimeDuration-from-dateTime-2
op-subtract-dayTimeDuration-from-dateTime-3
op-subtract-dayTimeDuration-from-dateTime-4
op-subtract-dayTimeDuration-from-dateTime-5
op-subtract-dayTimeDuration-from-dateTime-9
op-subtract-dayTimeDuration-from-dateTime-10
op-subtract-dayTimeDuration-from-dateTime-12
Comment 7 Michael Kay 2005-10-18 13:54:27 UTC
Also affects:

op-add-yearMonthDuration-to-date-2
op-add-yearMonthDuration-to-date-3
op-add-yearMonthDuration-to-date-4
op-add-yearMonthDuration-to-date-5
op-add-yearMonthDuration-to-date-9
op-add-yearMonthDuration-to-date-10
op-add-yearMonthDuration-to-date-12

op-add-dayTimeDuration-to-datealt-2
op-add-dayTimeDuration-to-date-3
op-add-dayTimeDuration-to-date-4
op-add-dayTimeDuration-to-date-5
op-add-dayTimeDuration-to-date-9
op-add-dayTimeDuration-to-date-10
op-add-dayTimeDuration-to-date-12
Comment 8 Michael Kay 2005-10-18 13:58:16 UTC
Also affects:

op-subtract-yearMonthDuration-from-date-4
op-subtract-yearMonthDuration-from-date-5
op-subtract-yearMonthDuration-from-date-9
op-subtract-yearMonthDuration-from-date-10
op-subtract-yearMonthDuration-from-date-12
op-subtract-yearMonthDuration-from-date-17
op-subtract-yearMonthDuration-from-date-18
Comment 9 Michael Kay 2005-10-18 14:34:23 UTC
Also applies to

op-subtract-dayTimeDuration-from-date-2
op-subtract-dayTimeDuration-from-date-3
op-subtract-dayTimeDuration-from-date-4
op-subtract-dayTimeDuration-from-date-5
op-subtract-dayTimeDuration-from-date-9
op-subtract-dayTimeDuration-from-date-10
op-subtract-dayTimeDuration-from-date-12
Comment 10 Michael Kay 2005-10-18 14:38:54 UTC
Also applies to

op-subtract-dayTimeDuration-from-time-3
op-subtract-dayTimeDuration-from-time-4
op-subtract-dayTimeDuration-from-time-5
op-subtract-dayTimeDuration-from-time-9
op-subtract-dayTimeDuration-from-time-10
op-subtract-dayTimeDuration-from-time-12
Comment 11 Michael Kay 2005-10-19 18:24:55 UTC
Applies also to

op-subtract-dayTimeDuration-from-time-15
op-subtract-dayTimeDuration-from-time-16
Comment 12 Michael Kay 2005-10-19 18:26:34 UTC
Applies also to

op-subtract-dayTimeDuration-from-time-17
Comment 13 Carmelo Montanez 2005-10-27 18:05:27 UTC
Fixed:

Tests were changed to use the string value of the type (date, time, dateTime, 
etc.)  Tests and results were resubmitted.  Please Close the bug if you agree
with resolution.

Thanks,
Carmelo Montanez
Comment 14 Michael Kay 2005-10-29 09:20:40 UTC
I'm still somewhat mystified by *why* these durations are being converted to
booleans - it seems to have the consequence that the processor can produce
almost any non-error result from the duration arithmetic and still pass the test
- but I'll close it anyway.