GDBus: Note in docs that g_dbus_node_info_new_for_xml() is using GMarkup
[platform/upstream/glib.git] / 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().
  *