Actions
Bug #5280
closedUse of fn:highest in XSLT 4 from transform.exe of SaxonC EE 11.1 fails with "Failed to load built-in function library: function-library.sef.xml"
Start date:
2022-02-04
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
11.1
Fixed in version:
11.2
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
I have tried to use the experimental XPath/XQuery/XSLT 4 functions like fn:highest
with transform.exe
of SaxonC 11.1 EE but I get an error "Failed to load built-in function library: function-library.sef.xml".
Details are as follows:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="4.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="#all"
expand-text="yes">
<xsl:output method="adaptive" indent="yes" build-tree="no"/>
<xsl:template match="/" name="xsl:initial-template">
<xsl:sequence select="highest((1, 2, 3, 3, 2, 1))"/>
</xsl:template>
</xsl:stylesheet>
Command line and output:
PS C:\Users\marti\OneDrive\Documents\xslt\xslt4-examples\highest-function-examples> & 'C:\Program Files\Saxonica\SaxonCEE11.1\command\Transform.exe' -t -it --allowSyntaxExtensions:on -xsl:.\highest-function-test1.xsl
SaxonC-EE 11.1 from Saxonica
Java version 1.8.0_181
Using license serial number Vxxxxx
Stylesheet compilation time: 12.1092ms
Processing (no source document) initial template = xsl:initial-template
Error at char 9 in expression in xsl:sequence/@select on line 11 column 61 of highest-function-test1.xsl:
Failed to load built-in function library: function-library.sef.xml: Cannot read
net/sf/saxon/data/sef/function-library.sef.xml file located using ClassLoader
sun.misc.Launcher$AppClassLoader@d9bd6d30 - continuing
: Cannot read net/sf/saxon/data/sef/function-library.sef.xml file located using
ClassLoader sun.misc.Launcher$AppClassLoader@d9bd6d30 - continuing
at template xsl:initial-template on line 10 column 57 of highest-function-test1.xsl:
Failed to load built-in function library: function-library.sef.xml: Cannot read net/sf/saxon/data/sef/function-library.sef.xml file located using ClassLoader sun.misc.Launcher$AppClassLoader@d9bd6d30 - continuing
: Cannot read net/sf/saxon/data/sef/function-library.sef.xml file located using ClassLoader sun.misc.Launcher$AppClassLoader@d9bd6d30 - continuing
The stylesheet works fine with SaxonJ 11.1 EE.
Please register to edit this issue
Actions