2012-12-01 07:43, Santhosh Edukulla
skrev:
It should be possible to mix Glib::ustring and std::string if the strings contain only 7-bit ASCII characters. Such a string is legal UTF-8. I would expect both node_str and node_str.c_str() to work. I don't see any obvious error in your code. If you want me to troubleshoot for you, I will need a complete compilable program and a corresponding xml file to experiment with. I see that you use a very old version of libxml2. Version 2.6.30 was released about 5 years ago. I can't see if you use an equally old version of libxml++. If the releases of libxml2 and libxml++ differ by several years, there might be some incompatibility there. This is just a guess, and it's not very probable that it's the reason for your crashes. Kjell |