You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/09/10 07:50:33 UTC
cvs commit: xml-xalan/c/src/XSLT ElemMessage.cpp
dbertoni 2002/09/09 22:50:33
Modified: c/src/XSLT ElemMessage.cpp
Log:
Fixed bug with ChildrenToString(). Bugzilla 12471.
Revision Changes Path
1.16 +12 -6 xml-xalan/c/src/XSLT/ElemMessage.cpp
Index: ElemMessage.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemMessage.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ElemMessage.cpp 12 Mar 2002 05:40:00 -0000 1.15
+++ ElemMessage.cpp 10 Sep 2002 05:50:33 -0000 1.16
@@ -129,20 +129,26 @@
void
-ElemMessage::execute(StylesheetExecutionContext& executionContext) const
+ElemMessage::execute(StylesheetExecutionContext& executionContext) const
{
ElemTemplateElement::execute(executionContext);
StylesheetExecutionContext::GetAndReleaseCachedString theResult(executionContext);
- executionContext.message(
- childrenToString(executionContext,theResult.get()),
- executionContext.getCurrentNode(),
- getLocator());
+ const XalanDOMString& theString =
+ childrenToString(
+ executionContext,
+ theResult.get());
+
+
+ executionContext.message(
+ theString,
+ executionContext.getCurrentNode(),
+ getLocator());
if (m_terminate == true)
{
- throw ElemMessageTerminateException(theResult.get());
+ throw ElemMessageTerminateException(theString);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org