diff options
author | David Robillard <d@drobilla.net> | 2022-11-24 16:40:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-11-24 16:40:49 -0500 |
commit | f2ea3154a742238f0b9943bb58efd0627ffda3e8 (patch) | |
tree | 0da78eafde795ef26068ea606314ef45d2013cdc /test | |
parent | 055735f696138614d51e92f1152bb02f0cfbefe0 (diff) | |
download | serd-f2ea3154a742238f0b9943bb58efd0627ffda3e8.tar.gz serd-f2ea3154a742238f0b9943bb58efd0627ffda3e8.tar.bz2 serd-f2ea3154a742238f0b9943bb58efd0627ffda3e8.zip |
Gracefully handle bad characters in Turtle blank node syntax
Diffstat (limited to 'test')
-rw-r--r-- | test/bad/bad-blank-syntax.ttl | 1 | ||||
-rw-r--r-- | test/bad/manifest.ttl | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/bad/bad-blank-syntax.ttl b/test/bad/bad-blank-syntax.ttl new file mode 100644 index 00000000..6c7117a2 --- /dev/null +++ b/test/bad/bad-blank-syntax.ttl @@ -0,0 +1 @@ +<http://example.org/s> <http://example.org/p> _|invalid . diff --git a/test/bad/manifest.ttl b/test/bad/manifest.ttl index 0f4f1338..05bcc69d 100644 --- a/test/bad/manifest.ttl +++ b/test/bad/manifest.ttl @@ -24,6 +24,7 @@ <#bad-14> <#bad-base> <#bad-blank> + <#bad-blank-syntax> <#bad-bom> <#bad-char-in-local> <#bad-char-in-prefix> @@ -166,6 +167,11 @@ mf:name "bad-blank" ; mf:action <bad-blank.ttl> . +<#bad-blank-syntax> + rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "bad-blank-syntax" ; + mf:action <bad-blank-syntax.ttl> . + <#bad-bom> rdf:type rdft:TestTurtleNegativeSyntax ; mf:name "bad-bom" ; |