Rick,
It is a bug. Can you open a bug in the Bugzilla database? Thanks.
Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]
"Rick Bullotta"
<rick.bullotta@light To: <[EMAIL PROTECTED]>
hammer.com> cc:
Subject: 2.4.0 Extensions Bug or
Implementation Change?
09/03/2002 03:38 PM
Please respond to
xalan-dev
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)