From 444f1b5806972c34a1b7eefc04abb7d841c421fe Mon Sep 17 00:00:00 2001 From: Andrew Sidwell Date: Wed, 9 Jul 2008 17:29:26 +0000 Subject: Add an explict null namespace to hubbub_ns. svn path=/trunk/hubbub/; revision=4550 --- src/tokeniser/tokeniser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/tokeniser/tokeniser.c b/src/tokeniser/tokeniser.c index 8815e60..df8946b 100644 --- a/src/tokeniser/tokeniser.c +++ b/src/tokeniser/tokeniser.c @@ -1122,6 +1122,7 @@ bool hubbub_tokeniser_handle_before_attribute_name( ctag->attributes = attr; + attr[ctag->n_attributes].ns = HUBBUB_NS_NULL; attr[ctag->n_attributes].name.type = HUBBUB_STRING_OFF; attr[ctag->n_attributes].name.data.off = pos; attr[ctag->n_attributes].name.len = len; @@ -1165,6 +1166,7 @@ bool hubbub_tokeniser_handle_before_attribute_name( ctag->attributes = attr; + attr[ctag->n_attributes].ns = HUBBUB_NS_NULL; attr[ctag->n_attributes].name.type = HUBBUB_STRING_OFF; attr[ctag->n_attributes].name.data.off = pos; attr[ctag->n_attributes].name.len = len; @@ -1293,6 +1295,7 @@ bool hubbub_tokeniser_handle_after_attribute_name( ctag->attributes = attr; + attr[ctag->n_attributes].ns = HUBBUB_NS_NULL; attr[ctag->n_attributes].name.type = HUBBUB_STRING_OFF; attr[ctag->n_attributes].name.data.off = pos; attr[ctag->n_attributes].name.len = len; @@ -1339,6 +1342,7 @@ bool hubbub_tokeniser_handle_after_attribute_name( ctag->attributes = attr; + attr[ctag->n_attributes].ns = HUBBUB_NS_NULL; attr[ctag->n_attributes].name.type = HUBBUB_STRING_OFF; attr[ctag->n_attributes].name.data.off = pos; attr[ctag->n_attributes].name.len = len; -- cgit v1.2.3