dbertoni 2003/06/05 11:11:50
Modified: c/src/PlatformSupport XalanTranscodingServices.cpp
Log:
Added #ifdef as workaround for a glitch in Xerces-C 2.3.
Revision Changes Path
1.21 +7 -0
xml-xalan/c/src/PlatformSupport/XalanTranscodingServices.cpp
Index: XalanTranscodingServices.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/PlatformSupport/XalanTranscodingServices.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- XalanTranscodingServices.cpp 26 Nov 2002 00:14:15 -0000 1.20
+++ XalanTranscodingServices.cpp 5 Jun 2003 18:11:50 -0000 1.21
@@ -306,7 +306,14 @@
XMLPlatformUtils::fgTransService->makeNewTranscoderFor(
c_wstr(theEncodingName),
theCode,
+// A glitch in Xerces 2.3 omits the default parameter, so
+// we have to provide one.
+#if XERCES_VERSION_MAJOR >= 2 && XERCES_VERSION_MINOR == 3
+ theBlockSize,
+ XMLPlatformUtils::fgMemoryManager);
+#else
theBlockSize);
+#endif
theResult = translateCode(theCode);
assert(theResult == XalanTranscodingServices::OK ||
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]