Project

Profile

Help

Support #5948

closed

fn:function-lookup and XSLT packages

Added by Mary Holstege about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT 3.0 packages
Sprint/Milestone:
-
Start date:
2023-03-31
Due date:
% Done:

0%

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

Description

Honestly: It isn't clear to me that this is supposed to work with packages. I'd sure like it to work, but tell me if I'm barking up the wrong tree.

The situation is that I have one package that provides component services, which uses function lookup to get access to information from the component-du-jour via callbacks.

When I do this with XQuery modules it is fine. With XSLT packages, the lookup always fails.

The meat is this, with $component containing information about the component.

    function-lookup(QName($component("namespace"), "algorithm-parameters"), 2) 

Example attached; run using test.sh (with appropriate adjustments to paths and config)


Files

20230331.zip (3.58 KB) 20230331.zip Zip file of code Mary Holstege, 2023-03-31 17:14

Please register to edit this issue

Also available in: Atom PDF