master
teknomunk 1 year ago
parent 1b383544af
commit 4acc7829bf

@ -121,7 +121,9 @@ char* json_ld_lookup_value( struct json_value context, const char* value )
const char* result = NULL;
json_ld_lookup_value_in_context( context, value, &result );
if( strstr(result,"://") ) {
if( !result ) {
return NULL;
} else if( strstr(result,"://") ) {
// absolute IRI
return strdup(result);
} else if( strstr( result, ":" ) ) {

Loading…
Cancel
Save