Hi Arul, My first guess would be that you are initializing the Xerces-C++ runtime (implicitly or explicitly) concurrently from multiple threads. See this FAQ entry for further information: http://wiki.codesynthesis.com/Tree/FAQ#Is_the_generated_code_thread-safe.3F Boris