From e1c80e0df81cec4ccf6a9dd378942d091a0f15dd Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 26 Aug 2010 23:00:23 +0000 Subject: Sync with modified libwapcaplet API: 11 additional DOM Level1 testsuite failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717 --- test/testutils/load.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'test/testutils/load.c') diff --git a/test/testutils/load.c b/test/testutils/load.c index 66e4e4c..0028eb4 100644 --- a/test/testutils/load.c +++ b/test/testutils/load.c @@ -24,8 +24,6 @@ #include "utils.h" -extern lwc_context *ctx; - /** * Load the file as it is a XML file * @@ -44,7 +42,7 @@ dom_document *load_xml(char *file, bool willBeModified) UNUSED(willBeModified); parser = dom_xml_parser_create(NULL, NULL, - myrealloc, NULL, mymsg, NULL, ctx); + myrealloc, NULL, mymsg, NULL); if (parser == NULL) { fprintf(stderr, "Can't create XMLParser\n"); return NULL; @@ -105,8 +103,8 @@ dom_document *load_html(char *file, bool willBeModified) UNUSED(willBeModified); - parser = dom_hubbub_parser_create("data/Aliases", NULL, true, - myrealloc, NULL, mymsg, NULL, ctx); + parser = dom_hubbub_parser_create("../data/Aliases", NULL, true, + myrealloc, NULL, mymsg, NULL); if (parser == NULL) { fprintf(stderr, "Can't create Hubbub Parser\n"); return NULL; @@ -115,7 +113,7 @@ dom_document *load_html(char *file, bool willBeModified) handle = open(file, O_RDONLY); if (handle == -1) { dom_hubbub_parser_destroy(parser); - fprintf(stderr, "Can't open test input file: %s\n", file); + /* fprintf(stderr, "Can't open test input file: %s\n", file); */ return NULL; } -- cgit v1.2.3