Project

Profile

Help

Bug #4840

Type information lost for extension function calls in SEF export

Added by Michael Kay about 2 months ago. Updated about 2 months ago.

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

0%

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

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

History

#1 Updated by Michael Kay about 2 months 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.

Please register to edit this issue

Also available in: Atom PDF