Use yaz_xml_include_glob MP-459
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 8 Jul 2013 12:22:35 +0000 (14:22 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 8 Jul 2013 12:22:35 +0000 (14:22 +0200)
src/router_flexml.cpp

index 783b52e..6f15edc 100644 (file)
@@ -315,7 +315,8 @@ void mp::RouterFleXML::Rep::parse_xml_config_dom(xmlDocPtr doc,
 
     if (file_include_path)
     {
-        int r = yaz_xml_include_simple((xmlNode *) root, file_include_path);
+        int r = yaz_xml_include_glob((xmlNode *) root, file_include_path,
+            YAZ_FILE_GLOB_FAIL_NOTEXIST);
         if (r)
             throw mp::XMLError("YAZ XML Include failed");
     }