node-set or nodeset?
Posted: Fri Sep 22, 2017 11:49 am
Hello.
I have been using Oxygen with an old XSLT stylesheet for many years without issues, but when I revisited the stylesheet today, I suddenly get an error upon transformation of a XML file:
The offending function is: <xsl:for-each select="xalan:node-set($temp)">
Changing it to: <xsl:for-each select="xalan:nodeset($temp)"> throws no error and seens to work as before.
I cannot find any documentaion on why and how this occurs and if this fix is "safe".
I suspect the problem arose after a system upgrade on the Mac I am using, but I cannot be sure.
I have been using Oxygen with an old XSLT stylesheet for many years without issues, but when I revisited the stylesheet today, I suddenly get an error upon transformation of a XML file:
Code: Select all
Engine name: Xalan
Severity: fatal
Description: java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xalan.lib.Extensions.nodeSet([ExpressionContext,] #RTREEFRAG).
Checked both static and instance methods.
Changing it to: <xsl:for-each select="xalan:nodeset($temp)"> throws no error and seens to work as before.
I cannot find any documentaion on why and how this occurs and if this fix is "safe".
I suspect the problem arose after a system upgrade on the Mac I am using, but I cannot be sure.