[glib] GDBus: ignore qualified XML tags and attributes



commit 9933a9f90477bf960f7f9c357253d1e4c78e5db5
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Oct 28 15:27:29 2013 -0700

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbusintrospection.c b/gio/gdbusintrospection.c
index b05f26f..c5f80ec 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]