Definition at line 139 of file XmlFileReader.h. Referenced by Read(). 00140 { 00141 // Initialize the XML4C2 system 00142 try 00143 { 00144 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::Initialize(); 00145 } 00146 00147 catch (const XERCES_CPP_NAMESPACE_QUALIFIER XMLException &/*toCatch*/) 00148 { 00149 // std::cout << "Error during Xerces-c Initialization.\n" 00150 // << " Exception message:" 00151 // << StrX(toCatch.getMessage()) << std::endl; 00152 return false; 00153 } 00154 00155 return true; 00156 }
|