https://issues.shibboleth.net/jira/browse/SSPCPP-624
authorScott Cantor <cantor.2@osu.edu>
Mon, 19 Jan 2015 22:40:16 +0000 (22:40 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 19 Jan 2015 22:40:16 +0000 (22:40 +0000)
xmltooling/util/ParserPool.cpp

index f6bc369..689815b 100644 (file)
@@ -255,6 +255,7 @@ bool ParserPool::loadSchema(const XMLCh* nsURI, const XMLCh* pathname)
 bool ParserPool::loadCatalogs(const char* pathnames)
 {
     string temp(pathnames);
+    trim(temp);
     vector<string> catpaths;
     split(catpaths, temp, is_any_of(PATH_SEPARATOR_STR), algorithm::token_compress_on);
     static bool (ParserPool::* lc)(const char*) = &ParserPool::loadCatalog;