From 3479055b4a609032a1775871cc685fd7dd33ab32 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 3 Mar 2009 18:08:01 +0000 Subject: Rationalise dom_string (some consideration is required as to what happens wrt interning -- lwc_strings should probably be used) Purge charset handling -- a) documents are always converted to utf-8 b) use parserutils for utf-8 handling Fix Hubbub binding to compile. svn path=/trunk/dom/; revision=6682 --- include/dom/core/document.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/dom/core/document.h') diff --git a/include/dom/core/document.h b/include/dom/core/document.h index cce8e4b..6a5fd9f 100644 --- a/include/dom/core/document.h +++ b/include/dom/core/document.h @@ -9,6 +9,7 @@ #define dom_core_document_h_ #include +#include #include @@ -98,5 +99,7 @@ dom_exception dom_document_rename_node(struct dom_document *doc, struct dom_node *node, struct dom_string *namespace, struct dom_string *qname, struct dom_node **result); +dom_exception dom_document_create_string(struct dom_document *doc, + const uint8_t *data, size_t len, struct dom_string **result); #endif -- cgit v1.2.3