Project

Profile

Help

Bug #6270

closed

In 4.0, downcasting coercion is not working for dynamic function calls

Added by Michael Kay 5 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Features new in 4.0
Sprint/Milestone:
-
Start date:
2023-11-30
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
trunk
Fix Committed on Branch:
trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

Downcasting coercion (allowing 42 to be supplied where the required type is xs:positiveInteger) has been implemented for static function calls but not for dynamic function calls. Revealed by new test case fn-filter-406. The code in TypeHierarchy.applyFunctionConversionRules() needs enhancement.

Actions #1

Updated by Michael Kay 3 months ago

  • Status changed from New to Resolved
  • Applies to branch deleted (12)
  • Fix Committed on Branch trunk added

Fixed on the main branch; I'm not proposing to retrofit these enhancements to the 12.x branch.

Please register to edit this issue

Also available in: Atom PDF