Calling a 3rd party extension function with a call to an extension function
as a parameter (in this case a xalan:nodeset call) no longer works...below
is the "before 2.4" code and "post 2.4" code that works. With 2.4, a
"org.apache.xpath.XPathProcessorException: Extension function
http://xml.apache.org/xalan : nodeset is unknown" exception is thrown.
However, adding an interim variable as in the second example seems to work,
though I'm sure there is some minor overhead associated with the extra step.
Any thoughts? Just "the way it is"? ;>
================
Used to work:
<xsl:variable name="THING">
<TOP>
<MIDDLE>
<BOTTOM>Wahoo</BOTTOM>
</MIDDLE>
</TOP>
</xsl:variable>
<xsl:copy-of select="lhfunction:dosomething('ABC',xalan:nodeset($THING))"/>
================
Workaround:
<xsl:variable name="THING">
<TOP>
<MIDDLE>
<BOTTOM>Wahoo</BOTTOM>
</MIDDLE>
</TOP>
</xsl:variable>
<xsl:variable name="THINGNodes" select="xalan:nodeset($THING)"/>
<xsl:copy-of select="lhfunction:dosomething('ABC',$THINGNodes)"/>
================
Rick Bullotta
CTO
Lighthammer Software (www.lighthammer.com)