GDBus: Note in docs that g_dbus_node_info_new_for_xml() is using GMarkup
authorDavid Zeuthen <davidz@redhat.com>
Tue, 6 Dec 2011 18:32:12 +0000 (13:32 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 6 Dec 2011 18:41:53 +0000 (13:41 -0500)
This was discussed in bug 665634.

https://bugzilla.gnome.org/show_bug.cgi?id=665634

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusintrospection.c

index ebaf226..702b249 100644 (file)
@@ -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
+ * <link linkend="glib-Simple-XML-Subset-Parser.description">GMarkup</link>-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().
  *