diff options
Diffstat (limited to 'librdfa/curie.c')
-rw-r--r-- | librdfa/curie.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/librdfa/curie.c b/librdfa/curie.c index 02e99608..d78e92ae 100644 --- a/librdfa/curie.c +++ b/librdfa/curie.c @@ -453,7 +453,11 @@ char* rdfa_resolve_curie( { /* if the prefix was defined, get it from the set of URI mappings. */ #ifdef LIBRDFA_IN_RAPTOR - if(strcmp(prefix, "xml")) + if(!strcmp(prefix, "xml")) + { + expanded_prefix = RAPTOR_GOOD_CAST(const char*, raptor_xml_namespace_uri); + } + else { raptor_namespace *nspace; raptor_uri* ns_uri; |