]> Dogcows Code - chaz/openbox/blobdiff - obt/xml.c
Allow XIncludes in xml documents we read.
[chaz/openbox] / obt / xml.c
index ffff1500e16d341b430584de1b132a027a5726d1..69810d77ee9374a1b3c46b20aa3ff038f84d70df 100644 (file)
--- a/obt/xml.c
+++ b/obt/xml.c
@@ -135,7 +135,8 @@ static gboolean load_file(ObtXmlInst *i,
             /* XML_PARSE_BLANKS is needed apparently, or the tree can end up
                with extra nodes in it. */
             i->doc = xmlReadFile(path, NULL, (XML_PARSE_NOBLANKS |
-                                              XML_PARSE_RECOVER));
+                                              XML_PARSE_RECOVER |
+                                              XML_PARSE_XINCLUDE));
             if (i->doc) {
                 i->root = xmlDocGetRootElement(i->doc);
                 if (!i->root) {
This page took 0.017594 seconds and 4 git commands to generate.