Project

Profile

Help

Bug #4840

closed

Type information lost for extension function calls in SEF export

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
2020-11-25
Due date:
% Done:

100%

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

Description

When a stylesheet containing Java reflexive extension function calls is exported to a SEF file, information about the type of the arguments is lost, which means it may not be possible to resolve the call when the SEF file is reloaded, if the method being called is polymorphic.

Raised here: https://saxonica.plan.io/boards/3/topics/8078?pn=1

Actions #1

Updated by Michael Kay over 3 years ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 10, trunk added

Fixed in AlphaCode.makeTree() by ensuring that the Java class underpinning an ExternalObjectType is exported as part of the alphaCode of the argument type.

Actions #2

Updated by O'Neil Delpratt almost 3 years ago

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

Bug fix applied to Saxon 10.5 maintenance release.

Please register to edit this issue

Also available in: Atom PDF