aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/n3.c2
-rw-r--r--src/node_syntax.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/n3.c b/src/n3.c
index 6d4210b4..ff142976 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -374,7 +374,7 @@ read_IRIREF(SerdReader* const reader, SerdNode** const dest)
return st;
}
- return (reader->flags & SERD_READ_VERBATIM)
+ return (reader->flags & SERD_READ_RELATIVE)
? SERD_SUCCESS
: resolve_IRIREF(reader, *dest, string_start_offset);
}
diff --git a/src/node_syntax.c b/src/node_syntax.c
index edf5cbf5..1dadc7b8 100644
--- a/src/node_syntax.c
+++ b/src/node_syntax.c
@@ -58,7 +58,7 @@ serd_node_from_syntax_in(const char* const str,
SerdReader* const reader =
serd_reader_new(world,
syntax,
- SERD_READ_VERBATIM | SERD_READ_GENERATED,
+ SERD_READ_RELATIVE | SERD_READ_GLOBAL | SERD_READ_GENERATED,
env,
sink,
1024 + doc_len);