summaryrefslogtreecommitdiff
path: root/xml/Accessible.xml
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-06-30 12:14:49 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-07-04 13:55:53 -0500
commit760ff76408818a0b9ea183235e07da1562ca56fc (patch)
tree8f6991d925d8b33aa00626f0273f2cd16be3ce67 /xml/Accessible.xml
parentebba194e26dd5d303021d7cdf3f755b7ce014994 (diff)
downloadat-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/Accessible.xml')
-rw-r--r--xml/Accessible.xml102
1 files changed, 51 insertions, 51 deletions
diff --git a/xml/Accessible.xml b/xml/Accessible.xml
index b081bfdb..5a265885 100644
--- a/xml/Accessible.xml
+++ b/xml/Accessible.xml
@@ -1,71 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
-<node name="/node">
-<interface name="org.a11y.atspi.Accessible">
+<node>
+ <interface name="org.a11y.atspi.Accessible">
- <property name="Name" type="s" access="read"/>
+ <property name="Name" type="s" access="read"/>
- <property name="Description" type="s" access="read"/>
+ <property name="Description" type="s" access="read"/>
- <property name="Parent" type="(so)" access="read">
- <annotation name="org.qtproject.QtDBus.QtTypeName" value="QSpiObjectReference"/>
- </property>
+ <property name="Parent" type="(so)" access="read">
+ <annotation name="org.qtproject.QtDBus.QtTypeName" value="QSpiObjectReference"/>
+ </property>
- <property name="ChildCount" type="i" access="read"/>
+ <property name="ChildCount" type="i" access="read"/>
- <property name="Locale" type="s" access="read"/>
+ <property name="Locale" type="s" access="read"/>
- <property name="AccessibleId" type="s" access="read"/>
+ <property name="AccessibleId" type="s" access="read"/>
- <method name="GetChildAtIndex">
- <arg direction="in" name="index" type="i"/>
- <arg direction="out" type="(so)"/>
- <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReference"/>
- </method>
+ <method name="GetChildAtIndex">
+ <arg direction="in" name="index" type="i"/>
+ <arg direction="out" type="(so)"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReference"/>
+ </method>
- <method name="GetChildren">
- <arg direction="out" type="a(so)"/>
- <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReferenceArray"/>
- </method>
+ <method name="GetChildren">
+ <arg direction="out" type="a(so)"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReferenceArray"/>
+ </method>
- <method name="GetIndexInParent">
- <arg direction="out" type="i"/>
- </method>
+ <method name="GetIndexInParent">
+ <arg direction="out" type="i"/>
+ </method>
- <method name="GetRelationSet">
- <arg direction="out" type="a(ua(so))"/>
- <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiRelationArray"/>
- </method>
+ <method name="GetRelationSet">
+ <arg direction="out" type="a(ua(so))"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiRelationArray"/>
+ </method>
- <method name="GetRole">
- <arg direction="out" type="u"/>
- </method>
+ <method name="GetRole">
+ <arg direction="out" type="u"/>
+ </method>
- <method name="GetRoleName">
- <arg direction="out" type="s"/>
- </method>
+ <method name="GetRoleName">
+ <arg direction="out" type="s"/>
+ </method>
- <method name="GetLocalizedRoleName">
- <arg direction="out" type="s"/>
- </method>
+ <method name="GetLocalizedRoleName">
+ <arg direction="out" type="s"/>
+ </method>
- <method name="GetState">
- <arg direction="out" type="au"/>
- <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiIntList"/>
- </method>
+ <method name="GetState">
+ <arg direction="out" type="au"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiIntList"/>
+ </method>
- <method name="GetAttributes">
- <arg direction="out" type="a{ss}"/>
- <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiAttributeSet"/>
- </method>
+ <method name="GetAttributes">
+ <arg direction="out" type="a{ss}"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiAttributeSet"/>
+ </method>
- <method name="GetApplication">
- <arg direction="out" type="(so)"/>
- <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReference"/>
- </method>
+ <method name="GetApplication">
+ <arg direction="out" type="(so)"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReference"/>
+ </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
+ <method name="GetInterfaces">
+ <arg direction="out" type="as"/>
+ </method>
-</interface>
+ </interface>
</node>