aboutsummaryrefslogtreecommitdiffstats
path: root/test/root
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-03-29 19:59:50 -0400
committerDavid Robillard <d@drobilla.net>2023-04-05 09:45:15 -0400
commitf93c3fdd6c7d6ca61bec55d3c1ffae7e7c793913 (patch)
tree749ae66010fb5b8bfcf398c29ce252f9138cce5b /test/root
parentdd777c54b7585823be1f977e9dd887a5110a74f3 (diff)
downloadserd-f93c3fdd6c7d6ca61bec55d3c1ffae7e7c793913.tar.gz
serd-f93c3fdd6c7d6ca61bec55d3c1ffae7e7c793913.tar.bz2
serd-f93c3fdd6c7d6ca61bec55d3c1ffae7e7c793913.zip
Fix relative URI creation
Diffstat (limited to 'test/root')
-rw-r--r--test/root/root-inside-base-out.ttl4
-rw-r--r--test/root/root-outside-base-out.ttl4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/root/root-inside-base-out.ttl b/test/root/root-inside-base-out.ttl
index a5081e4d..76f61791 100644
--- a/test/root/root-inside-base-out.ttl
+++ b/test/root/root-inside-base-out.ttl
@@ -1,7 +1,7 @@
@base <http://example.org/top/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-<http://example.org/top/>
+<>
rdfs:label "base node" .
<root/>
@@ -10,7 +10,7 @@
<root/s>
rdfs:label "within root" .
-<s>
+<http://example.org/top/s>
rdfs:label "within base" .
<http://example.org/other/s>
diff --git a/test/root/root-outside-base-out.ttl b/test/root/root-outside-base-out.ttl
index 47a4c47e..dcb95d5a 100644
--- a/test/root/root-outside-base-out.ttl
+++ b/test/root/root-outside-base-out.ttl
@@ -4,7 +4,7 @@
<>
rdfs:label "base node" .
-<http://example.org/top/root/>
+<../>
rdfs:label "root node" .
<s>
@@ -13,7 +13,7 @@
<../s>
rdfs:label "within root" .
-<../../s>
+<http://example.org/top/s>
rdfs:label "outside root" .
<http://example.com/s>