dbertoni 2004/05/26 19:26:04
Modified: c/src/xalanc/XSLT ElemTemplateElement.cpp
Log:
Fix for Bugzilla 29079.
Revision Changes Path
1.15 +5 -1 xml-xalan/c/src/xalanc/XSLT/ElemTemplateElement.cpp
Index: ElemTemplateElement.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/ElemTemplateElement.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ElemTemplateElement.cpp 19 Apr 2004 14:47:18 -0000 1.14
+++ ElemTemplateElement.cpp 27 May 2004 02:26:04 -0000 1.15
@@ -231,13 +231,17 @@
{
assert(m_directTemplate != 0);
+ // This is temporary, until we can process stylesheet in such a
way that we
+ // can detect variable references...
+ const StylesheetExecutionContext::PushAndPopContextMarker
thePushAndPop(executionContext);
+
m_directTemplate->execute(executionContext);
}
else
{
if (hasParams() == true || hasVariables() == true)
{
-
StylesheetExecutionContext::PushAndPopElementFrame
thePushAndPop(executionContext, this);
+ const
StylesheetExecutionContext::PushAndPopElementFrame
thePushAndPop(executionContext, this);
for (ElemTemplateElement* node = m_firstChild;
node != 0; node = node->m_nextSibling)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]