fix: void validate arguments/properties name (#358)
This commit is contained in:
10
tests/data/sloppy-introspection.xml
Normal file
10
tests/data/sloppy-introspection.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
<node name="/com/example/sample_object0">
|
||||
<interface name="com.example.SampleInterface0">
|
||||
<method name="Frobate">
|
||||
<arg name="0-foo-bar" type="i" direction="in"/>
|
||||
</method>
|
||||
<property name="0-baz-qux" type="y" access="write"/>
|
||||
</interface>
|
||||
</node>
|
||||
@@ -5,7 +5,7 @@
|
||||
<method name="Frobate">
|
||||
<arg name="foo" type="i" direction="in"/>
|
||||
<arg name="bar" type="s" direction="out"/>
|
||||
<arg name="baz" type="a{us}" direction="out"/>
|
||||
<arg name="0-baz" type="a{us}" direction="out"/>
|
||||
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
|
||||
</method>
|
||||
<method name="Bazify">
|
||||
@@ -16,11 +16,11 @@
|
||||
<arg name="bar" type="(iiav)" direction="in"/>
|
||||
</method>
|
||||
<signal name="Changed">
|
||||
<arg name="new_value" type="b"/>
|
||||
<arg name="0-new_value" type="b"/>
|
||||
</signal>
|
||||
<signal name="ChangedMulti">
|
||||
<arg name="new_value1" type="b"/>
|
||||
<arg name="new_value2" type="y"/>
|
||||
<arg name="0-new_value2" type="y"/>
|
||||
</signal>
|
||||
<property name="Bar" type="y" access="write"/>
|
||||
</interface>
|
||||
Reference in New Issue
Block a user