Project

Profile

Help

Bug #4784

closed

Register specific CollectionFinder class with Saxon configuration file

Added by Nico Kutscherauer over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Configuration
Sprint/Milestone:
-
Start date:
2020-10-05
Due date:
% Done:

100%

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

Description

Hi,

As described on the Saxon documentation page, I should be able to create my own class for resolving URIs for the funcitons fn:collection() and/or fn:uri-collection(): https://www.saxonica.com/html/documentation/sourcedocs/collections/user-collections.html

I would like to use this, but I have to configure the Saxon by a config file. If I understand your example config correctly, I would have to set the attribute /configuration/global/@collectionFinder (https://www.saxonica.com/documentation/index.html#!configuration/configuration-file). Unfortunatelly this attribute seems to have no effect.

After debugging I have to assume, that the ConfigurationReader ignores this attribute completely and that it is currently not possible to configure this feature using a config file. Am I right or have I missed something?

Best Regards, Nico

PS: I'm currently using Saxon 9.9.1-5, but I checked also the source code of the ConfigurationReader in Saxon 10-2 and I could find a change for the collectionFinder attribute.

Please register to edit this issue

Also available in: Atom PDF