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 3524 - CastFOCA0001-1 and CastFOCA0003-1 should have another possible result
Summary: CastFOCA0001-1 and CastFOCA0003-1 should have another possible result
Status: VERIFIED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 11:00 UTC by Alberto Massari
Modified: 2006-08-07 10:56 UTC (History)
0 users

See Also:


Attachments

Description Alberto Massari 2006-07-21 11:00:11 UTC
Using XQTS_current v1.16

CastFOCA0001-1 and CastFOCA0001-1 try to create an integer with value 99e100, and expect either an "out of bounds" error, or a specific value 98999999....
In our case, we have infinite precision decimal numbers, so we return 990000000...

Can this result be added as another correct outcome?
Comment 1 Carmelo Montanez 2006-07-25 18:18:06 UTC
Alberto:

Your implementation literaly returns "990000000..."

Carmelo
Comment 2 Carmelo Montanez 2006-07-25 18:18:42 UTC
Alberto:

Your implementation literaly returns "990000000..."

Carmelo
Comment 3 Alberto Massari 2006-07-25 18:42:41 UTC
Hi Carmelo,
that was a simplification; our implementation actually returns 990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Alberto