Forgot to mention, I made the changes so I can build 64 bit in Visual Studio 2005.
________________________________ From: Goffena, Robert [mailto:rgoff...@ball.com] Sent: Tuesday, May 19, 2009 11:28 AM To: xalan-c-users@xml.apache.org Subject: XalanICUMessageLoader Assert Failure From Debug Build Hi all, I get an assert failure when trying to execute Xalan code in debug mode. Debug mode complains about PlatformSupport\XalanICUMessageLoader.cpp line 145. That line and the few above it are located in XalanICUMessageLoader::XalanICUMEssageLoader(MemoryManager &theManager), and look like the following: m_localeBundle = ures_open(sPackageName, szLocal, &err); If (!U_SUCCESS(err) || m_localeBundle ==0) { Assert(0); } I checked out http:/source.icu-project.org/repos/icu/icu/tags/release-3-8-1 of icu. I checked out revision 762403 of http://svn.apache.org/repos/asf/xalan/c/trunk. I generated and applied the attached patches to allow building of 64 and 32 bit libraries and to allow the resulting libraries to coexist (ie: instead of writing libraries to bin, I modified to write to $(PlatformName)/$(ConfigurationName)). I use the XalanICU solution. Gentest.exe from icu seems to work in release and debug builds, if I understand what gentest.exe does. Threadtest.exe, XPathTest.exe and TestXSLT.exe, from Xalan debug build, cause the aforementioned assert statement to fail. Release builds of those tests succeed. Any ideas what I have done wrong? Where I should look to fix this problem? Bob This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address.