Project

Profile

Help

Bug #3869

closed

Missing run time type check for value comparisons for xs:qname and xs:duration

Added by Debbie Lockett over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Low
Category:
-
Sprint/Milestone:
-
Start date:
2018-08-02
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
1.0, Trunk
Fix Committed on JS Branch:
1.0, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

Often the value comparison type check will be handled at compile time, but we should also be consistent about checking at run time. Most equals and compareTo methods for the type classes in Atomic result in type error "XPTY0004" when the values are not comparable, but in a couple cases the checks are missing: XdmQName.equals, and XdmDuration.equals and compareTo.

Actions #1

Updated by Debbie Lockett over 5 years ago

  • Status changed from New to Resolved
  • Fix Committed on JS Branch 1.0, Trunk added

Patch committed.

Actions #2

Updated by Debbie Lockett over 5 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in JS Release set to Saxon-JS 1.2.0

Bug fix applied in the Saxon-JS 1.2.0 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page