Skip to content

Commit

Permalink
Support full URLs for typeof.
Browse files Browse the repository at this point in the history
- Addresses #8.
  • Loading branch information
dlongley committed Oct 10, 2014
1 parent 57ca930 commit 5b73975
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c/curie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5b73975

Please sign in to comment.