From 9933a9f90477bf960f7f9c357253d1e4c78e5db5 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 28 Oct 2013 15:27:29 -0700 Subject: [PATCH] GDBus: ignore qualified XML tags and attributes Ignore qualified (in the XML namespace sense) tags and attributes when parsing D-Bus introspection XML. This will allow people to add custom tags and attributes to their D-Bus interfaces without tripping up GDBus. https://bugzilla.gnome.org/show_bug.cgi?id=665634 --- gio/gdbusintrospection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gdbusintrospection.c b/gio/gdbusintrospection.c index b05f26fcd..c5f80ec36 100644 --- a/gio/gdbusintrospection.c +++ b/gio/gdbusintrospection.c @@ -1789,7 +1789,7 @@ g_dbus_node_info_new_for_xml (const gchar *xml_data, data = parse_data_new (); context = g_markup_parse_context_new (parser, - 0, + G_MARKUP_IGNORE_QUALIFIED, data, (GDestroyNotify) parse_data_free);