From: caremoli Date: Mon, 16 Nov 2009 10:46:10 +0000 (+0000) Subject: CCAR: Fix problem with libxml2 (initialization in thread followed by not needed xmlCl... X-Git-Tag: V5_1_3rc3~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be9d58e19008b13a8e69e939cab749636c199037;p=modules%2Fkernel.git CCAR: Fix problem with libxml2 (initialization in thread followed by not needed xmlCleanupParser) --- diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx index 865635705..621b34c03 100644 --- a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx @@ -27,6 +27,7 @@ // #include "SALOME_ModuleCatalog_impl.hxx" #include "SALOME_ModuleCatalog_Acomponent_impl.hxx" +#include #include #include #include "utilities.h" @@ -79,6 +80,8 @@ list splitStringToList(const string& theString, const string& theSeparat SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl(int argc, char** argv, CORBA::ORB_ptr orb) : _orb(orb) { if(MYDEBUG) MESSAGE("Catalog creation"); + /* Init libxml */ + xmlInitParser(); // Conversion rules for component types ComponentTypeConvert[GEOM] @@ -686,7 +689,6 @@ SALOME_ModuleCatalogImpl::_parse_xml_file(const char* file, MESSAGE("ModuleCatalog: could not parse file "<