DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14236>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14236

EXSLT function changes variables





------- Additional Comments From [EMAIL PROTECTED]  2002-11-13 17:19 -------
There are a few errors in the posted stylesheet and input xml. But I can 
reproduce the problem using the example in bug 14244.

When an EXSLT function is called, we need to relocate the frame bottom of the 
variable stack, otherwise the local variables declared in the callee EXSLT 
function will overwrite the local variables in the caller template (or another 
EXSLT function). 

To do this we need a connection between an ElemExsltFunction object and a 
FuncExtFunction object. Currently we cannot access one of them from the other, 
because the ExtensionProvider only passes the name of the extension function to 
the extension handler. I have evaluated two possible solutions. The one I am 
going to use is to add a new interface "public Object extFunction
(FuncExtFunction extFunction, Vector argVec)" to the ExtensionProvider 
interface. We also need to make changes in ExtensionsTable and each 
ExtensionHandler subclass to handle this new interface.

Reply via email to