dbertoni 2002/09/12 14:31:47
Modified: c/src/XSLT StylesheetExecutionContextDefault.cpp
Log:
Fixed error message.
Revision Changes Path
1.98 +9 -2
xml-xalan/c/src/XSLT/StylesheetExecutionContextDefault.cpp
Index: StylesheetExecutionContextDefault.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XSLT/StylesheetExecutionContextDefault.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- StylesheetExecutionContextDefault.cpp 13 Aug 2002 05:37:06 -0000
1.97
+++ StylesheetExecutionContextDefault.cpp 12 Sep 2002 21:31:47 -0000
1.98
@@ -1867,9 +1867,16 @@
}
else
{
+ StylesheetExecutionContext::GetAndReleaseCachedString
theGuard(*this);
+
+ XalanDOMString& theString = theGuard.get();
+
+ theString = XALAN_STATIC_UCODE_STRING("The variable '");
+ theString += name.getLocalPart();
+ theString += XALAN_STATIC_UCODE_STRING("' is not defined.");
+
error(
- TranscodeFromLocalCodePage("Variable reference given
for variable out of context or without definition! Name = '") +
- name.getLocalPart() + "'",
+ theString,
getCurrentNode(),
locator);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]