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 3476 - CastAs670 checks for date overflow in current
Summary: CastAs670 checks for date overflow in current
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.4
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 10:25 UTC by Martin Probst
Modified: 2006-08-09 10:09 UTC (History)
0 users

See Also:


Attachments

Description Martin Probst 2006-07-18 10:25:20 UTC
CastAs670 checks for a date overflow by constructing a date in 2006 and adding 9000 years to it.

The spec says implementations that do limit the number of digits should raise an error, but it doesn't limit the precision in any way.

I believe the error in this test case should be made optional, the value 11006-07-12 should be a possible result. Also the test description is somewhat strange?
Comment 1 Carmelo Montanez 2006-07-18 14:07:49 UTC
Martin:

Thanks for the feedback.  I added a possible second outcome to the
test case entry.  Also changed the test description, which as a case
of a cut and paste gone wrong.

Thanks,
Carmelo