diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-03 18:08:01 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-03 18:08:01 +0000 |
commit | 702d96e703473dbe4481a42c472b4aae423a51d1 (patch) | |
tree | 9dc767860ebea940f1d936d14d69073b4e289c92 /src/core/attr.c | |
parent | eeb651eadb47228ad41c21b80d75afc17c2924f8 (diff) | |
download | libdom-702d96e703473dbe4481a42c472b4aae423a51d1.tar.gz libdom-702d96e703473dbe4481a42c472b4aae423a51d1.tar.bz2 |
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
Diffstat (limited to 'src/core/attr.c')
-rw-r--r-- | src/core/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/attr.c b/src/core/attr.c index a82f117..5a85ac0 100644 --- a/src/core/attr.c +++ b/src/core/attr.c @@ -180,7 +180,7 @@ dom_exception dom_attr_get_value(struct dom_attr *attr, struct dom_string *value, *temp; dom_exception err; - err = dom_string_create_from_const_ptr(a->owner, + err = dom_document_create_string(a->owner, (const uint8_t *) "", SLEN(""), &value); if (err != DOM_NO_ERR) { return err; |