GNOME Bugzilla – Bug 772220
[PATCH] Add XPathContext interface to DomElement, just after GLib.Object declaration
Last modified: 2016-10-03 23:50:27 UTC
Created attachment 336575 [details] [review] [PATCH] Add XPathContext interface to DomElement, just after GLib.Object declaration we have this bug at execution : ``[GLib-GObject] cannot add interface type 'GXmlXPathContext' to type 'GXmlGElement' which does not conform to prerequisite...`` to resolve this, add XPathContext interface to DomElement, after 'GLib.Object' declaration. this patch provides also test for XPath.
Review of attachment 336575 [details] [review]: Your patch fails. I try to push it as is, but unable. Take the opportunity to comment you: Please don't touch DOM interfaces, if you have any issue should be done in XPath interfaces and implementation. Please rework this patch and make sure it will work. I can change any thing later if you wish.
I'm pushed all your work upstream. Made some fixes and now Unit tests are in place. Please feel free to add more tests in order to ensure it works as expected.