X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltooling%2FXMLToolingConfig.cpp;h=bcd6ebad95621f932f62439c6f8fdce89d51cfd1;hp=9f8478e160a485453f5fb3f31eda702500784c14;hb=a93d0241cb0fcbbd03ec671ec92ace2cd1519af9;hpb=4e08add2d98d246f1a5bd97305dd7da8ed761d5b diff --git a/xmltooling/XMLToolingConfig.cpp b/xmltooling/XMLToolingConfig.cpp index 9f8478e..bcd6eba 100644 --- a/xmltooling/XMLToolingConfig.cpp +++ b/xmltooling/XMLToolingConfig.cpp @@ -55,9 +55,9 @@ #endif #include -#include #include #include +#include #if defined(XMLTOOLING_LOG4SHIB) # include @@ -425,12 +425,12 @@ bool XMLToolingInternalConfig::init() // Load catalogs from path. if (!catalog_path.empty()) { - vector catpaths; - split(catpaths, catalog_path, is_any_of(PATH_SEPARATOR_STR), algorithm::token_compress_on); + boost::tokenizer< char_separator > catpaths(catalog_path, char_separator(PATH_SEPARATOR_STR)); for_each( catpaths.begin(), catpaths.end(), // Call loadCatalog with an inner call to s->c_str() on each entry. - boost::bind(static_cast(&ParserPool::loadCatalog), m_validatingPool, boost::bind(&string::c_str,_1)) + boost::bind(static_cast(&ParserPool::loadCatalog), + m_validatingPool, boost::bind(&string::c_str,_1)) ); }