From 990af4b3725faba230abc6c2e68c112da6f13b41 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Tue, 6 Dec 2011 13:32:12 -0500 Subject: [PATCH] GDBus: Note in docs that g_dbus_node_info_new_for_xml() is using GMarkup This was discussed in bug 665634. https://bugzilla.gnome.org/show_bug.cgi?id=665634 Signed-off-by: David Zeuthen --- gio/gdbusintrospection.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gio/gdbusintrospection.c b/gio/gdbusintrospection.c index ebaf226..702b249 100644 --- a/gio/gdbusintrospection.c +++ b/gio/gdbusintrospection.c @@ -1755,6 +1755,10 @@ parser_error (GMarkupParseContext *context, * * Parses @xml_data and returns a #GDBusNodeInfo representing the data. * + * Note that this routine is using a + * GMarkup-based + * parser that only accepts a subset of valid XML documents. + * * Returns: A #GDBusNodeInfo structure or %NULL if @error is set. Free * with g_dbus_node_info_unref(). * -- 2.7.4