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 21890 - CastFOCA0001-1
Summary: CastFOCA0001-1
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
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: 2013-05-01 07:43 UTC by Christian Gruen
Modified: 2013-05-01 08:16 UTC (History)
1 user (show)

See Also:


Attachments

Description Christian Gruen 2013-05-01 07:43:53 UTC
The test contains the following query as assertion...

   abs($result - 989999999999999971062477677470550235220096190889648004812994130017827049653182301025734968880029237248) lt 9e99

...that may fail to be evaluated by a query processor and result in FOAR0002 if the implementation limits integer literals to smaller values.

The test could e.g. be rewritten as:

   abs($result - xs:decimal('989999999999999971062477677470550235220096190889648004812994130017827049653182301025734968880029237248')) lt 9e99
Comment 1 Michael Kay 2013-05-01 08:11:01 UTC
I have changed this and the following test to use assertions that should not blow limits on any conformant processor.
Comment 2 Christian Gruen 2013-05-01 08:16:27 UTC
Looks fine.