Project

Profile

Help

Bug #5461

closed

xs:dayTimeDuration('PT0.001S') * 60000 * 60 gives PT0.817405952S

Added by Michael Kay over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2022-04-26
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, 11, trunk
Fix Committed on Branch:
10, 11, trunk
Fixed in Maintenance Release:
Platforms:

Description

Caused by 32-bit integer overflow in DayTimeDurationValue.multiply()

Occurs in SaxonJ and SaxonCS - observed in 10.x and 11.x but likely to apply to other releases as well.

Actions #1

Updated by Michael Kay over 2 years ago

  • Status changed from New to In Progress
  • Priority changed from Low to Normal

Created QT3 test case K-DayTimeDurationMultiply-10

Actions #2

Updated by Michael Kay over 2 years ago

Fixed on the 12.x elaboration branch (in the course of other changes) by using the fast path only if fractional seconds == 0.

Actions #3

Updated by Michael Kay over 2 years ago

  • Category set to XPath conformance
  • Status changed from In Progress to Resolved
  • Applies to branch 10, 11, trunk added
  • Fix Committed on Branch 10, 11, trunk added

Fixed on the 10.x, 11.x, and 12.x branches.

Actions #4

Updated by Debbie Lockett over 2 years ago

  • Fixed in Maintenance Release 11.4 added

Bug fix applied in the Saxon 11.4 maintenance release. (Issue remains open awaiting Saxon 10 maintenance release.)

Actions #5

Updated by O'Neil Delpratt almost 2 years ago

  • Fixed in Maintenance Release 12.0 added

Bug issue fix applied in the Saxon 12.0 Major Release. Leaving this bug marked as Resolved until fix applied to Saxon 10 maintenance release.

Actions #6

Updated by O'Neil Delpratt almost 2 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 10.9 added

Bug fix applied in the Saxon 10.9 maintenance release.

Please register to edit this issue

Also available in: Atom PDF