diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sord_validate.c | 2 | ||||
-rw-r--r-- | src/sordi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sord_validate.c b/src/sord_validate.c index 869ee1a..96e9584 100644 --- a/src/sord_validate.c +++ b/src/sord_validate.c @@ -676,7 +676,7 @@ main(int argc, char** argv) SerdURI base_uri; SerdNode base_uri_node = serd_node_new_file_uri( - in_path, NULL, &base_uri, false); + in_path, NULL, &base_uri, true); serd_env_set_base_uri(env, &base_uri_node); const SerdStatus st = serd_reader_read_file(reader, in_path); diff --git a/src/sordi.c b/src/sordi.c index 8ddbfb4..46e6273 100644 --- a/src/sordi.c +++ b/src/sordi.c @@ -149,7 +149,7 @@ main(int argc, char** argv) base = serd_node_new_uri_from_string( (const uint8_t*)argv[a], NULL, &base_uri); } else if (from_file && in_fd != stdin) { // Use input file URI - base = serd_node_new_file_uri(input, NULL, &base_uri, false); + base = serd_node_new_file_uri(input, NULL, &base_uri, true); } SordWorld* world = sord_world_new(); |