From 055735f696138614d51e92f1152bb02f0cfbefe0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 24 Nov 2022 16:40:46 -0500 Subject: Gracefully handle bad characters in Turtle datatype syntax --- test/bad/bad-datatype-syntax.ttl | 1 + test/bad/manifest.ttl | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 test/bad/bad-datatype-syntax.ttl (limited to 'test/bad') diff --git a/test/bad/bad-datatype-syntax.ttl b/test/bad/bad-datatype-syntax.ttl new file mode 100644 index 00000000..541c25d4 --- /dev/null +++ b/test/bad/bad-datatype-syntax.ttl @@ -0,0 +1 @@ + "value"^ . diff --git a/test/bad/manifest.ttl b/test/bad/manifest.ttl index 5f208983..0f4f1338 100644 --- a/test/bad/manifest.ttl +++ b/test/bad/manifest.ttl @@ -28,6 +28,7 @@ <#bad-char-in-local> <#bad-char-in-prefix> <#bad-char-in-uri> + <#bad-datatype-syntax> <#bad-datatype> <#bad-dot-after-subject> <#bad-dot-in-collection> @@ -185,6 +186,11 @@ mf:name "bad-char-in-uri" ; mf:action . +<#bad-datatype-syntax> + rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "bad-datatype-syntax" ; + mf:action . + <#bad-datatype> rdf:type rdft:TestTurtleNegativeSyntax ; mf:name "bad-datatype" ; -- cgit v1.2.1