Project

Profile

Help

Bug #3869

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

Added by Debbie Lockett 6 months ago. Updated 4 months ago.

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

100%

Applies to JS Branch:
1.0, Trunk
Fix Committed on JS Branch:
1.0, Trunk
Fixed in JS Release:
SEF Generated with:
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.

History

#1 Updated by Debbie Lockett 6 months ago

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

Patch committed.

#2 Updated by Debbie Lockett 4 months 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