From 5b73975a778ee00f328457356a69163911d540a5 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Fri, 10 Oct 2014 10:47:35 -0400 Subject: [PATCH] Support full URLs for typeof. - Addresses #8. --- c/curie.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c/curie.c b/c/curie.c index bc5bbe1..8468dc8 100644 --- a/c/curie.c +++ b/c/curie.c @@ -554,7 +554,8 @@ char* rdfa_resolve_curie( rval = rdfa_join_string(context->default_vocabulary, uri); } else if(((mode == CURIE_PARSE_PROPERTY) || - (mode == CURIE_PARSE_ABOUT_RESOURCE)) && + (mode == CURIE_PARSE_ABOUT_RESOURCE) || + (mode == CURIE_PARSE_INSTANCEOF_DATATYPE)) && (strstr(uri, "_:") == NULL) && (strstr(uri, "[_:") == NULL)) { rval = rdfa_resolve_uri(context, uri);