Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-09 Thread Luke Kenneth Casson Leighton
Just grabbed the latest git. make complains about that: ar: DerivedSources/.libs/JSCSSCharsetRule.o: No such file or directory yeah, i got that too - bizarre that you repeated it. it's because the .lo file exists but the .o does not. so if you delete the .lo then the build process

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
[taking this discussion onto webkit-dev for the benefit of other people who may wish to use the glib / gobject bindings in the future] On 6/6/09, Leon Winter l...@ring0.de wrote: Hi, @Luke: how is XPath supposed to work? GdomXPathResult *res; GdomXPathEvaluator evaluator; char

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Leon Winter
-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

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
On 6/8/09, Leon Winter l...@ring0.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
On 6/8/09, Leon Winter l...@ring0.de wrote: -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

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, not being funny or anything, but are you _sure_ you need a GdomXPathEvaluator object? if you look in GdomDocument.h, yo can see this: WEBKIT_API GdomXPathResult * gdom_document_evaluate (GdomDocument *thiz, gchar * expression, GdomNode *

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
Well I tried: GdomXPathResult *res; char* exp = //html:select; GdomDocument *doc = get_dom_document(); GdomNodeList *els = gdom_document_get_elements_by_tag_name(doc, body); GdomNode *body = gdom_node_list_item(els, 0); GdomXPathNSResolver *resolver =

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
On 6/8/09, Luke Kenneth Casson Leighton l...@lkcl.net wrote: Well I tried: GdomXPathResult *res; char* exp = //html:select; GdomDocument *doc = get_dom_document(); GdomNodeList *els = gdom_document_get_elements_by_tag_name(doc, body); GdomNode *body =

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
from a random google search, leading to this: http://www.faqts.com/knowledge_base/view.phtml/aid/34022 a code snippet is this: // test with no prefix doesn't find nodes: var xpathResult = xmlDocument.evaluate( //element, xmlDocument, null,

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luke Kenneth Casson Leighton wrote: from a random google search, leading to this: http://www.faqts.com/knowledge_base/view.phtml/aid/34022 a code snippet is this: // test with no prefix doesn't find nodes: var xpathResult =