[glib/glib-2-32] GDBusNodeInfo: the XML string must contain exactly one node element
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-32] GDBusNodeInfo: the XML string must contain exactly one node element
- Date: Sat, 14 Jul 2012 23:23:51 +0000 (UTC)
commit f0fe7d5ec9d2a13b22db93a2e7a1b079f45ff979
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Jul 10 11:37:56 2012 +0200
GDBusNodeInfo: the XML string must contain exactly one node element
Make the documentation clear about this.
https://bugzilla.gnome.org/show_bug.cgi?id=679671
gio/gdbusintrospection.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbusintrospection.c b/gio/gdbusintrospection.c
index a97fa43..e24e5a7 100644
--- a/gio/gdbusintrospection.c
+++ b/gio/gdbusintrospection.c
@@ -1755,6 +1755,9 @@ parser_error (GMarkupParseContext *context,
*
* Parses @xml_data and returns a #GDBusNodeInfo representing the data.
*
+ * The introspection XML must contain exactly one top-level
+ * <tag class="starttag">node</tag> element.
+ *
* 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]