diff --git a/gio/gdbusintrospection.c b/gio/gdbusintrospection.c
index a97fa43c1..e24e5a7e9 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
+ * node element.
+ *
* Note that this routine is using a
* GMarkup-based
* parser that only accepts a subset of valid XML documents.