diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-06-30 12:14:49 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-07-04 13:55:53 -0500 |
commit | 760ff76408818a0b9ea183235e07da1562ca56fc (patch) | |
tree | 8f6991d925d8b33aa00626f0273f2cd16be3ce67 /xml/Cache.xml | |
parent | ebba194e26dd5d303021d7cdf3f755b7ce014994 (diff) | |
download | at-spi2-core-760ff76408818a0b9ea183235e07da1562ca56fc.tar.gz |
XML: Remove the toplevel node name
https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format
Per the DBus spec, "Only the root <node> element can omit the node
name, as it's known to be the object that was introspected."
When we have a DBus XML description:
<node>
<interface name="Foo">
</interface>
</node>
The toplevel <node> element does not need a `name` attribute.
While we are at it, reindent all the XML files properly.
Diffstat (limited to 'xml/Cache.xml')
-rw-r--r-- | xml/Cache.xml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/xml/Cache.xml b/xml/Cache.xml index ad100672..45fb1704 100644 --- a/xml/Cache.xml +++ b/xml/Cache.xml @@ -1,21 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> -<node name="/node"> -<interface name="org.a11y.atspi.Cache"> +<node> + <interface name="org.a11y.atspi.Cache"> - <method name="GetItems"> - <arg direction="out" name="nodes" type="a((so)(so)(so)iiassusau)"/> - <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiAccessibleCacheArray"/> - </method> + <method name="GetItems"> + <arg direction="out" name="nodes" type="a((so)(so)(so)iiassusau)"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiAccessibleCacheArray"/> + </method> - <signal name="AddAccessible"> - <arg name="nodeAdded" type="((so)(so)(so)iiassusau)"/> - <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiAccessibleCacheItem"/> - </signal> + <signal name="AddAccessible"> + <arg name="nodeAdded" type="((so)(so)(so)iiassusau)"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiAccessibleCacheItem"/> + </signal> - <signal name="RemoveAccessible"> - <arg name="nodeRemoved" type="(so)"/> - <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiObjectReference"/> - </signal> + <signal name="RemoveAccessible"> + <arg name="nodeRemoved" type="(so)"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiObjectReference"/> + </signal> -</interface> + </interface> </node> |