summaryrefslogtreecommitdiff
path: root/src/html/html_document.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-11-02 20:39:42 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-11-02 20:39:42 +0000
commitdf84e73e91ae50e2fa8f2c3cd4ca264b6f4052cf (patch)
tree2ab6e8f7e36be18b1f5267d328471afce7aaac60 /src/html/html_document.h
parentb9d3df5e808f5e626ff7bbb181a04014dc081a53 (diff)
downloadlibdom-df84e73e91ae50e2fa8f2c3cd4ca264b6f4052cf.tar.gz
libdom-df84e73e91ae50e2fa8f2c3cd4ca264b6f4052cf.tar.bz2
Disable validation of element and attribute names in HTML DOM trees
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r--src/html/html_document.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h
index bb1a0d2..ecc6236 100644
--- a/src/html/html_document.h
+++ b/src/html/html_document.h
@@ -118,6 +118,11 @@ dom_exception _dom_html_document_get_elements_by_tag_name(dom_document *doc,
dom_exception _dom_html_document_get_elements_by_tag_name_ns(
dom_document *doc, dom_string *namespace,
dom_string *localname, dom_nodelist **result);
+dom_exception _dom_html_document_create_attribute(dom_document *doc,
+ dom_string *name, dom_attr **result);
+dom_exception _dom_html_document_create_attribute_ns(dom_document *doc,
+ dom_string *namespace, dom_string *qname,
+ dom_attr **result);
#define DOM_DOCUMENT_VTABLE_HTML \
_dom_document_get_doctype, \
@@ -129,12 +134,12 @@ dom_exception _dom_html_document_get_elements_by_tag_name_ns(
_dom_document_create_comment, \
_dom_document_create_cdata_section, \
_dom_document_create_processing_instruction, \
- _dom_document_create_attribute, \
+ _dom_html_document_create_attribute, \
_dom_document_create_entity_reference, \
_dom_html_document_get_elements_by_tag_name, \
_dom_document_import_node, \
_dom_html_document_create_element_ns, \
- _dom_document_create_attribute_ns, \
+ _dom_html_document_create_attribute_ns, \
_dom_html_document_get_elements_by_tag_name_ns, \
_dom_document_get_element_by_id, \
_dom_document_get_input_encoding, \