X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=obt%2Fxml.c;h=69810d77ee9374a1b3c46b20aa3ff038f84d70df;hp=ffff1500e16d341b430584de1b132a027a5726d1;hb=4f8503c2c5aa4210c923269626b67c5919326c46;hpb=6dedf8f37e00a61e4b0d3762b869ed39eeee77f8 diff --git a/obt/xml.c b/obt/xml.c index ffff1500..69810d77 100644 --- 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) {