[webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]
Leon Winter
lwi at ring0.de
Mon Jun 8 02:48:23 PDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Leon Winter wrote:
> Hi,
>> GdomXPathNSResolver *resolver =
>> gdom_x_path_evaluator_create_ns_resolver(doc, body);
>
>> l.
> Yeah minor mistake from my side (sorry for that), anyway it
> segfaults since we cannot initialize GdomXPathEvaluator (as told
> before).
>
> Regards, Leon Winter
Hi,
I just checked the header-files and I found out, that it was not my
mistake actually, since there are two functions:
WEBKIT_API GdomXPathNSResolver *
gdom_x_path_evaluator_create_ns_resolver (GdomXPathEvaluator *thiz,
GdomNode * node_resolver);
WEBKIT_API GdomXPathNSResolver *
gdom_document_create_ns_resolver (GdomDocument *thiz, GdomNode *
node_resolver);
Anyway we cannot use XPath at the moment because we need a
(GdomXPathEvaluator object:
WEBKIT_API GdomXPathResult *
gdom_x_path_evaluator_evaluate (GdomXPathEvaluator *thiz, gchar *
expression, GdomNode * context_node, GdomXPathNSResolver * resolver,
gushort type, GdomXPathResult * in_result);
Regards,
Leon Winter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkos3mYACgkQ3qn9m9SfDYeK4gCgyK0XKld6eKRAUN8z5OXB7TrP
VukAn1cpi/xOl1TnL8n2k8dgzIHtMgV1
=DStQ
-----END PGP SIGNATURE-----
More information about the webkit-dev
mailing list