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 2364 - CastFOCA0001/3 depend on impl-def limits
Summary: CastFOCA0001/3 depend on impl-def limits
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 21:27 UTC by Michael Kay
Modified: 2006-06-22 12:55 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-18 21:27:33 UTC
The two tests CastFOCA0001-1 and CastFOCA0003-1 attempt to cause errors by using
literals that exceed the maximum size of an integer or decimal. On an
implementation (like Saxon) that supports large integers and decimals, no
failure will occur. The expected results are therefore wrong.
Comment 1 Carmelo Montanez 2005-10-21 19:08:08 UTC
Mike:

Perhaps the best way to handle this is to have two possible scenarios.
one involving the error and the other actually capturing a value.

I will double check with the task force as I think we talked about this 
scenario, but not sure what the resolution was.
Comment 2 Michael Kay 2005-10-21 19:38:32 UTC
Yes, I agree, it's probably best to handle it with two alternative outcomes. (My
test driver isn't very good at those, but that's my problem...)
Comment 3 Carmelo Montanez 2005-10-31 20:24:14 UTC
Fixed results.  Added alternate expected results for implmentations capable or 
handling the big numbers.  Test now may have two outcomes, either raise an 
error or processing of big number.  Please close the bug if you agree.

Thanks,
Carmelo Montanez