Re: g_dbus_node_info_new_for_xml() and XML namespaces
- From: Joseph Artsimovich <joseph artsimovich youview com>
- To: gtk-devel-list gnome org
- Subject: Re: g_dbus_node_info_new_for_xml() and XML namespaces
- Date: Mon, 16 Sep 2013 17:19:11 +0100
On 16/09/13 15:47, Simon McVittie wrote:
On 16/09/13 13:45, Joseph Artsimovich wrote:
So, I've got two options at this point. I can either write my own
introspection XML parsing code or I can modify Glib code to ignore any
unexpected attributes
... or you can do what Telepathy used to do, which is to put the
"augmented introspection data" through a filter (we used XSLT) to turn
it into "plain old" D-Bus introspection.
If you introspect a Telepathy connection manager, you don't get our
augmented introspection XML - you just get the "plain" introspection XML
produced by dbus-glib.
That's yet another possible solution. I'll keep it in mind. Still,
stopping glib from treating any unexpected attribute as an error is a
better solution, IMHO.
--
Joseph Artsimovich
Software Engineer at YouView TV Ltd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]