diff options
author | Dave Beckett <dave@dajobe.org> | 2012-06-22 18:06:35 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2012-06-22 18:06:35 -0700 |
commit | 3dedde349bd1759b637b4e00e10e1e49a4034af1 (patch) | |
tree | 7e878c67925126ad70776612870040aaa9f72ed4 /librdfa | |
parent | 8708095c399f894fec5f19cc88681db989af417a (diff) | |
download | raptor-3dedde349bd1759b637b4e00e10e1e49a4034af1.tar.gz |
DECLARE_URI_MAPPING - start new namespace, do not make a new one
Call raptor_namespaces_start_namespace() instead of
raptor_namespace_stack_start_namespace() which copies the namespace
to the stack and then starts it.
Diffstat (limited to 'librdfa')
-rw-r--r-- | librdfa/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librdfa/context.c b/librdfa/context.c index bdb80380..b110681e 100644 --- a/librdfa/context.c +++ b/librdfa/context.c @@ -156,7 +156,7 @@ do { \ raptor_namespace_stack* nstack = &context->sax2->namespaces; \ raptor_namespace* ns = raptor_new_namespace(nstack, \ (const unsigned char *)prefix, (const unsigned char*)value, 0); \ - raptor_namespace_stack_start_namespace(nstack, ns, 0); \ + raptor_namespaces_start_namespace(nstack, ns); \ } while(0) #else #define DECLARE_URI_MAPPING(context, prefix, value) \ |