Modified: xerces/c/trunk/tools/NLS/Xlat/Xlat.cpp URL: http://svn.apache.org/viewvc/xerces/c/trunk/tools/NLS/Xlat/Xlat.cpp?rev=676009&r1=676008&r2=676009&view=diff ============================================================================== --- xerces/c/trunk/tools/NLS/Xlat/Xlat.cpp (original) +++ xerces/c/trunk/tools/NLS/Xlat/Xlat.cpp Fri Jul 11 09:07:01 2008 @@ -307,8 +307,8 @@ // we use the id as the enum name. // - if (XMLString::stringLen(msgText) > 128) { - wprintf(L"Message text %s is too long, 128 character limit\n\n", xmlStrToPrintable(msgText)); + if (XMLString::stringLen(msgText) >= 128) { + wprintf(L"Message text '%s' is too long (%d chars), 128 character limit\n\n", xmlStrToPrintable(msgText),XMLString::stringLen(msgText)); throw ErrReturn_SrcFmtError; } @@ -854,7 +854,6 @@ // And call the termination method if(srcDoc) delete srcDoc; - XMLPlatformUtils::Terminate(); return retVal; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
