Actions
Support #6140
open
Add SaxonJS 3.1 extension functions in Saxon 12.3
Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2023-07-27
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
Hello,
I try to add the SaxonJS functions in the configuration extension library list using the code below. When I try to validate an XSL that uses the SaxonJS functions it complains that this are not recognized. Do you have any suggestions?
if (configuration instanceof ProfessionalConfiguration) {
ProfessionalConfiguration pConfiguration = (ProfessionalConfiguration) configuration;
// Add SaxonJS 3.1 extension functions
pConfiguration.getBuiltInExtensionLibraryList(31).addFunctionLibrary(IXSLFunctionSet.getInstance());
//Register extension instructions
pConfiguration.setExtensionElementCreator(
NamespaceUri.of("http://saxonica.com/ns/interactiveXSLT"), IXSLElementFactory.FACTORY);
}
No data to display
Please register to edit this issue
Actions