The name attribute is optional for the root node element in introspection results.
From https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format :
Only the root <node> element can omit the node name, as it's known to be the object that was introspected. If the root <node> does have a name attribute, it must be an absolute object path. If child <node> have object paths, they must be relative.
When writing a test case for another issue, I found that dbus services written using C++ QT Dbus library can cause this issue.
I will raise a pull request to fix both of these issues including test cases.
The name attribute is optional for the root node element in introspection results.
From https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format :
When writing a test case for another issue, I found that dbus services written using C++ QT Dbus library can cause this issue.
I will raise a pull request to fix both of these issues including test cases.