summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rc.xml3
-rw-r--r--doc/rc-mouse-focus.xml3
-rw-r--r--obt/xml.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/data/rc.xml b/data/rc.xml
index 21b0c87f..7faa2550 100644
--- a/data/rc.xml
+++ b/data/rc.xml
@@ -3,7 +3,8 @@
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
-<openbox_config xmlns="http://openbox.org/3.4/rc">
+<openbox_config xmlns="http://openbox.org/3.4/rc"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
<strength>10</strength>
diff --git a/doc/rc-mouse-focus.xml b/doc/rc-mouse-focus.xml
index e0453214..06c3ce54 100644
--- a/doc/rc-mouse-focus.xml
+++ b/doc/rc-mouse-focus.xml
@@ -3,7 +3,8 @@
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
-<openbox_config xmlns="http://openbox.org/3.4/rc">
+<openbox_config xmlns="http://openbox.org/3.4/rc"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
<strength>10</strength>
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) {