This sounds like it's a heap issue - where memory is being allocated on one heap and freed on another. Most likely Xerces-C is compiled with a different runtime setting to CEGUIBase (Multithreaded DLL is how I have it set up here, though it's not important which setting you use, so long as all the components are using the same thing).
Hope this helps
