summaryrefslogtreecommitdiff
path: root/bindings/xml/xmlparser.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-06 23:38:53 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-06 23:38:53 +0000
commitb79bcc3fef8a90c96b3db8dcb34ceea0f778e876 (patch)
treeb75a2f2c4609ccbc0fd4193dab4e861a44e3cd61 /bindings/xml/xmlparser.c
parent6b110bebb8930b171145597cfa37ff1c1ac753f7 (diff)
downloadlibdom-b79bcc3fef8a90c96b3db8dcb34ceea0f778e876.tar.gz
libdom-b79bcc3fef8a90c96b3db8dcb34ceea0f778e876.tar.bz2
Provide mechanism for binding/client to define the features a document object should support.
Utilise this to decide whether to create a raw Document or an HTMLDocument instance. Disable the above decision, as the HTMLDocument implementation is garbage svn path=/trunk/libdom/; revision=11025
Diffstat (limited to 'bindings/xml/xmlparser.c')
-rw-r--r--bindings/xml/xmlparser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/xml/xmlparser.c b/bindings/xml/xmlparser.c
index ff1f9d6..7f15b83 100644
--- a/bindings/xml/xmlparser.c
+++ b/bindings/xml/xmlparser.c
@@ -315,6 +315,7 @@ void xml_parser_start_document(void *ctx)
* we should pass the real function when we integrate libDOM with
* Netsurf */
err = dom_implementation_create_document(
+ DOM_IMPLEMENTATION_XML,
/* namespace */ NULL,
/* qname */ NULL,
/* doctype */ NULL,