dbertoni 2004/03/29 13:23:24
Modified: c/src/xalanc/XSLT VariablesStack.cpp
Log:
Fix for Bugzilla 27959.
Revision Changes Path
1.10 +9 -1 xml-xalan/c/src/xalanc/XSLT/VariablesStack.cpp
Index: VariablesStack.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/VariablesStack.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- VariablesStack.cpp 26 Feb 2004 22:58:58 -0000 1.9
+++ VariablesStack.cpp 29 Mar 2004 21:23:23 -0000 1.10
@@ -133,7 +133,15 @@
}
}
- m_currentStackFrameIndex = size_type(m_stack.size());
+ // This introduced a regression into 1.7, because of all the
+ // external fiddling with the stack frame index. We need to
+ // re-write that code so no external meddling is necessary,
+ // so we can track the stack frame index properly. In particular,
+ // this is an issue with xsl:apply-templates, because a context
+ // marker is pushed before its select attribute is evaluated, even
+ // though the select expression really should be evaluated in
+ // the previous stack context.
+// m_currentStackFrameIndex = size_type(m_stack.size());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]