From 081cf689356ef9138b67da2c687883b9c3354a63 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 19 Feb 2013 23:27:10 +0000 Subject: add context for default action function --- bindings/hubbub/parser.c | 1 + bindings/xml/expat_xmlparser.c | 1 + bindings/xml/libxml_xmlparser.c | 1 + 3 files changed, 3 insertions(+) (limited to 'bindings') diff --git a/bindings/hubbub/parser.c b/bindings/hubbub/parser.c index 0c80a65..b597f9a 100644 --- a/bindings/hubbub/parser.c +++ b/bindings/hubbub/parser.c @@ -794,6 +794,7 @@ dom_hubbub_parser_create(dom_hubbub_parser_params *params, NULL, NULL, params->daf, + params->ctx, &binding->doc); if (err != DOM_NO_ERR) { hubbub_parser_destroy(binding->parser); diff --git a/bindings/xml/expat_xmlparser.c b/bindings/xml/expat_xmlparser.c index cc08171..f2ffc76 100644 --- a/bindings/xml/expat_xmlparser.c +++ b/bindings/xml/expat_xmlparser.c @@ -478,6 +478,7 @@ dom_xml_parser_create(const char *enc, const char *int_enc, /* qname */ NULL, /* doctype */ NULL, NULL, + NULL, document); if (err != DOM_NO_ERR) { diff --git a/bindings/xml/libxml_xmlparser.c b/bindings/xml/libxml_xmlparser.c index dde598c..87b137d 100644 --- a/bindings/xml/libxml_xmlparser.c +++ b/bindings/xml/libxml_xmlparser.c @@ -214,6 +214,7 @@ dom_xml_parser *dom_xml_parser_create(const char *enc, const char *int_enc, /* qname */ NULL, /* doctype */ NULL, NULL, + NULL, document); if (err != DOM_NO_ERR) { -- cgit v1.2.3