aboutsummaryrefslogtreecommitdiffstats
path: root/test/bad
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-15 08:42:40 -0400
committerDavid Robillard <d@drobilla.net>2022-01-14 19:37:51 -0500
commit8974148437e9c98bc715a96a0cdeef8f7a9726f2 (patch)
treec70fadd8014f65cd7a31a8a9a98ea8424f7fba8d /test/bad
parentdaf4a7574d1977567c3da3d7fa561710139eb052 (diff)
downloadserd-8974148437e9c98bc715a96a0cdeef8f7a9726f2.tar.gz
serd-8974148437e9c98bc715a96a0cdeef8f7a9726f2.tar.bz2
serd-8974148437e9c98bc715a96a0cdeef8f7a9726f2.zip
Add tests for weird prefixed name edge cases in RDF 1.1 Turtle
Diffstat (limited to 'test/bad')
-rw-r--r--test/bad/bad-prefix-dot.ttl1
-rw-r--r--test/bad/manifest.ttl6
2 files changed, 7 insertions, 0 deletions
diff --git a/test/bad/bad-prefix-dot.ttl b/test/bad/bad-prefix-dot.ttl
new file mode 100644
index 00000000..7b02211f
--- /dev/null
+++ b/test/bad/bad-prefix-dot.ttl
@@ -0,0 +1 @@
+@prefix dotted.: <http://example.org/> .
diff --git a/test/bad/manifest.ttl b/test/bad/manifest.ttl
index 28841e82..00f7e360 100644
--- a/test/bad/manifest.ttl
+++ b/test/bad/manifest.ttl
@@ -66,6 +66,7 @@
<#bad-object2>
<#bad-object>
<#bad-pn-escape>
+ <#bad-prefix-dot>
<#bad-prefix>
<#bad-quote-in-uri>
<#bad-semicolon-after-subject>
@@ -378,6 +379,11 @@
mf:name "bad-pn-escape" ;
mf:action <bad-pn-escape.ttl> .
+<#bad-prefix-dot>
+ rdf:type rdft:TestTurtleNegativeSyntax ;
+ mf:name "bad-prefix-dot" ;
+ mf:action <bad-prefix-dot.ttl> .
+
<#bad-prefix>
rdf:type rdft:TestTurtleNegativeSyntax ;
mf:name "bad-prefix" ;