diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-10-09 20:11:28 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-01-24 14:19:22 -0500 |
| commit | 4f8503c2c5aa4210c923269626b67c5919326c46 (patch) | |
| tree | 707d39286679374b53c25937ba05cb322eaefe68 /obt | |
| parent | 6dedf8f37e00a61e4b0d3762b869ed39eeee77f8 (diff) | |
Allow XIncludes in xml documents we read.
Add the XInclude namespace in the default config file (named "xi")
Diffstat (limited to 'obt')
| -rw-r--r-- | obt/xml.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |
