[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Re: g_dbus_node_info_new_for_xml() and XML namespaces
From:       Joseph Artsimovich <joseph.artsimovich () youview ! com>
Date:       2013-09-16 16:19:11
Message-ID: 52372F7F.7060201 () youview ! com
[Download RAW message or body]

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

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic