Project

Profile

Help

Bug #2564

closed

Vendor function calls not re-imported after stylesheet export

Added by John Lumley over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2015-12-29
Due date:
% Done:

100%

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

Description

When a vendor function call, such as @saxon:transform()@, is exported in a package, it is labelled as an integrated function, and therefore cannot be found in the integrated function library on 'runtime' importation. One of two possibilities exist:

  1. Specifically identify vendor functions in the export format and re-import appropriately

  2. Permit searching the vendor functions if lookup in the integrated library fails.

I think the former is probably the wisest.

Actions #1

Updated by John Lumley over 8 years ago

  • Subject changed from Vendor functions not re-imported after stylesheet export to Vendor function calls not re-imported after stylesheet export

Title altered to reflect only problematic on function calls

Actions #2

Updated by John Lumley over 8 years ago

On further exploration, since vendor function calls are 'merely' subclasses of @ExtensionFunctionCall@, the latter mechanism proposed, where the vendor function library is searched when integrated lookup fails, might be the easiest and smoothest.

Actions #3

Updated by John Lumley over 8 years ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 9.7 added

Lookup in vendor function library if not found in integrated funcion library in @PackageLoaderPE@.

Patch committed to the 9.7 branch.

Actions #4

Updated by O'Neil Delpratt about 8 years ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.7.0.2 added

Bug fix applied in the Saxon 9.7.0.2 maintenance release

Actions #5

Updated by O'Neil Delpratt about 8 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF