Hi, Daniel.
I just realized that I composed but never sent this response to your
question about variable "fix-up" in Xalan-J.
Daniel Migowski <[EMAIL PROTECTED]> wrote on 2005-04-28
09:39:09 AM:
> I have some more questions while trying to understand the source code.
>
> In org.apache.xalan.xpath:
> Q1: What means "fixup variables"?
Variables that are declared by a template are stored in a stack frame
(org.apache.xpath.VariableStack) at run-time. The fix-up process finds
the integer index into the stack frame for each variable reference in an
XPath expression. When an expression is evaluated, the expression
evaluation for a variable reference uses the index to look up the value in
the stack frame, instead of looking up the value by name.
I hope that helps.
Thanks,
Henry
------------------------------------------------------------------
Henry Zongaro Xalan development
IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]