This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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
I have changed this and the following test to use assertions that should not blow limits on any conformant processor.
Looks fine.