aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra
diff options
context:
space:
mode:
Diffstat (limited to 'test/extra')
-rw-r--r--test/extra/bad/bad-lang-start-delete.nt1
-rw-r--r--test/extra/bad/bad-lang-start-space.nt1
-rw-r--r--test/extra/bad/bad-lang-start-tab.nt1
-rw-r--r--test/extra/bad/bad-lang-start-wide.nt1
-rw-r--r--test/extra/bad/bad-lang.ttl2
-rw-r--r--test/extra/bad/bad-uri-scheme-start-apostrophe.nt1
-rw-r--r--test/extra/bad/bad-uri-scheme-start-delete.nt1
-rw-r--r--test/extra/bad/bad-uri-scheme-start-space.nt1
-rw-r--r--test/extra/bad/bad-uri-scheme-start-tab.nt1
-rw-r--r--test/extra/bad/bad-uri-scheme-start-wide.nt1
-rw-r--r--test/extra/bad/bad-uri-scheme-start.nt1
-rw-r--r--test/extra/bad/manifest.ttl271
-rw-r--r--test/extra/eof/README.md5
-rw-r--r--test/extra/eof/bad-nt-eof-after-blank.nt (renamed from test/extra/bad/bad-nt-eof-after-blank.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-lang-hyphen.nt (renamed from test/extra/bad/bad-nt-eof-after-lang-hyphen.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-lang-subtag.nt (renamed from test/extra/bad/bad-nt-eof-after-lang-subtag.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-lang.nt (renamed from test/extra/bad/bad-nt-eof-after-lang.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-object.nt (renamed from test/extra/bad/bad-nt-eof-after-object.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-predicate.nt (renamed from test/extra/bad/bad-nt-eof-after-predicate.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-string-escape.nt (renamed from test/extra/bad/bad-nt-eof-after-string-escape.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-string.nt (renamed from test/extra/bad/bad-nt-eof-after-string.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-subject.nt (renamed from test/extra/bad/bad-nt-eof-after-subject.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-after-underscore.nt (renamed from test/extra/bad/bad-nt-eof-after-underscore.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-before-blank.nt (renamed from test/extra/bad/bad-nt-eof-before-blank.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-before-iri.nt (renamed from test/extra/bad/bad-nt-eof-before-iri.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-before-lang.nt (renamed from test/extra/bad/bad-nt-eof-before-lang.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-before-string-escape.nt (renamed from test/extra/bad/bad-nt-eof-before-string-escape.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-before-string.nt (renamed from test/extra/bad/bad-nt-eof-before-string.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-in-iri-path.nt (renamed from test/extra/bad/bad-nt-eof-in-iri-path.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-in-iri-scheme.nt (renamed from test/extra/bad/bad-nt-eof-in-iri-scheme.nt)0
-rw-r--r--test/extra/eof/bad-nt-eof-in-string.nt (renamed from test/extra/bad/bad-nt-eof-in-string.nt)0
-rw-r--r--test/extra/eof/bad-ttl-eof-after-quotes.ttl (renamed from test/extra/bad/bad-eof-after-quotes.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-at-string-start.ttl (renamed from test/extra/bad/bad-eof-at-string-start.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-blank.ttl (renamed from test/extra/bad/bad-eof-in-blank.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-escape.ttl (renamed from test/extra/bad/bad-eof-in-escape.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-lang-suffix.ttl (renamed from test/extra/bad/bad-eof-in-lang-suffix.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-lang.ttl (renamed from test/extra/bad/bad-eof-in-lang.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-list.ttl (renamed from test/extra/bad/bad-eof-in-list.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-long-string.ttl (renamed from test/extra/bad/bad-eof-in-long-string.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-object-list.ttl (renamed from test/extra/bad/bad-eof-in-object-list.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-object-list2.ttl (renamed from test/extra/bad/bad-eof-in-object-list2.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-predicate-list.ttl (renamed from test/extra/bad/bad-eof-in-predicate-list.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-string.ttl (renamed from test/extra/bad/bad-eof-in-string.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-text-character.ttl (renamed from test/extra/bad/bad-eof-in-text-character.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-triple-quote.ttl (renamed from test/extra/bad/bad-eof-in-triple-quote.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-uri-character.ttl (renamed from test/extra/bad/bad-eof-in-uri-character.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-uri-scheme.ttl (renamed from test/extra/bad/bad-eof-in-uri-scheme.nt)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-uri.ttl (renamed from test/extra/bad/bad-eof-in-uri.ttl)0
-rw-r--r--test/extra/eof/bad-ttl-eof-in-utf8-character.ttl (renamed from test/extra/bad/bad-eof-in-utf8-character.ttl)0
-rw-r--r--test/extra/eof/manifest.ttl225
-rw-r--r--test/extra/good/manifest.ttl48
-rw-r--r--test/extra/good/test-bom-only.nt0
-rw-r--r--test/extra/good/test-bom-only.ttl1
-rw-r--r--test/extra/good/test-boolish-prefix.nt2
-rw-r--r--test/extra/good/test-boolish-prefix.ttl5
-rw-r--r--test/extra/good/test-decimal-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-decimal-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-double-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-double-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-false-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-false-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-integer-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-integer-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-nq-syntax-all-rules.nq2
-rw-r--r--test/extra/good/test-nt-syntax-all-rules.nt2
-rw-r--r--test/extra/good/test-trig-syntax-all-rules.trig4
-rw-r--r--test/extra/good/test-true-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-true-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-ttl-syntax-all-rules.ttl6
69 files changed, 379 insertions, 229 deletions
diff --git a/test/extra/bad/bad-lang-start-delete.nt b/test/extra/bad/bad-lang-start-delete.nt
new file mode 100644
index 00000000..122625e0
--- /dev/null
+++ b/test/extra/bad/bad-lang-start-delete.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> "hello"@bad .
diff --git a/test/extra/bad/bad-lang-start-space.nt b/test/extra/bad/bad-lang-start-space.nt
new file mode 100644
index 00000000..ff5c12ab
--- /dev/null
+++ b/test/extra/bad/bad-lang-start-space.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> "hello"@ bad .
diff --git a/test/extra/bad/bad-lang-start-tab.nt b/test/extra/bad/bad-lang-start-tab.nt
new file mode 100644
index 00000000..ad005c6d
--- /dev/null
+++ b/test/extra/bad/bad-lang-start-tab.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> "hello"@ bad .
diff --git a/test/extra/bad/bad-lang-start-wide.nt b/test/extra/bad/bad-lang-start-wide.nt
new file mode 100644
index 00000000..04ca4899
--- /dev/null
+++ b/test/extra/bad/bad-lang-start-wide.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> "hello"@βad .
diff --git a/test/extra/bad/bad-lang.ttl b/test/extra/bad/bad-lang.ttl
index 01e04328..b51df89c 100644
--- a/test/extra/bad/bad-lang.ttl
+++ b/test/extra/bad/bad-lang.ttl
@@ -1 +1 @@
-<> <http://example.org/pred> "hello"@\bad . \ No newline at end of file
+<> <http://example.org/pred> "hello"@b\ad .
diff --git a/test/extra/bad/bad-uri-scheme-start-apostrophe.nt b/test/extra/bad/bad-uri-scheme-start-apostrophe.nt
new file mode 100644
index 00000000..265b46d1
--- /dev/null
+++ b/test/extra/bad/bad-uri-scheme-start-apostrophe.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> <'http://example.org/o> .
diff --git a/test/extra/bad/bad-uri-scheme-start-delete.nt b/test/extra/bad/bad-uri-scheme-start-delete.nt
new file mode 100644
index 00000000..70b4962a
--- /dev/null
+++ b/test/extra/bad/bad-uri-scheme-start-delete.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> <http://example.org/o> .
diff --git a/test/extra/bad/bad-uri-scheme-start-space.nt b/test/extra/bad/bad-uri-scheme-start-space.nt
new file mode 100644
index 00000000..d396d6dd
--- /dev/null
+++ b/test/extra/bad/bad-uri-scheme-start-space.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> < http://example.org/o> .
diff --git a/test/extra/bad/bad-uri-scheme-start-tab.nt b/test/extra/bad/bad-uri-scheme-start-tab.nt
new file mode 100644
index 00000000..458a5743
--- /dev/null
+++ b/test/extra/bad/bad-uri-scheme-start-tab.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> < http://example.org/o> .
diff --git a/test/extra/bad/bad-uri-scheme-start-wide.nt b/test/extra/bad/bad-uri-scheme-start-wide.nt
new file mode 100644
index 00000000..7ddfff60
--- /dev/null
+++ b/test/extra/bad/bad-uri-scheme-start-wide.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> <σhttp://example.org/o> .
diff --git a/test/extra/bad/bad-uri-scheme-start.nt b/test/extra/bad/bad-uri-scheme-start.nt
deleted file mode 100644
index cd3fd70f..00000000
--- a/test/extra/bad/bad-uri-scheme-start.nt
+++ /dev/null
@@ -1 +0,0 @@
-<2http://example.org/s> <http://example.org/p> <http://example.org/o> .
diff --git a/test/extra/bad/manifest.ttl b/test/extra/bad/manifest.ttl
index 64dbf05f..a4bb4b4f 100644
--- a/test/extra/bad/manifest.ttl
+++ b/test/extra/bad/manifest.ttl
@@ -28,24 +28,6 @@
<#bad-dot-after-subject>
<#bad-dot-in-collection>
<#bad-empty-blank-predicate>
- <#bad-nt-eof-after-blank>
- <#bad-nt-eof-after-lang>
- <#bad-nt-eof-after-lang-hyphen>
- <#bad-nt-eof-after-lang-subtag>
- <#bad-nt-eof-after-object>
- <#bad-nt-eof-after-predicate>
- <#bad-nt-eof-after-string>
- <#bad-nt-eof-after-string-escape>
- <#bad-nt-eof-after-subject>
- <#bad-nt-eof-after-underscore>
- <#bad-nt-eof-before-blank>
- <#bad-nt-eof-before-iri>
- <#bad-nt-eof-before-lang>
- <#bad-nt-eof-before-string>
- <#bad-nt-eof-before-string-escape>
- <#bad-nt-eof-in-iri-path>
- <#bad-nt-eof-in-iri-scheme>
- <#bad-nt-eof-in-string>
<#bad-nt-syntax-blank-u00F7.nt>
<#bad-nt-syntax-blank-u037E.nt>
<#bad-nt-syntax-blank-u200B.nt>
@@ -65,24 +47,6 @@
<#bad-nt-syntax-uri-grave>
<#bad-nt-syntax-uri-less-than>
<#bad-nt-syntax-uri-opening-brace>
- <#bad-eof-after-quotes>
- <#bad-eof-at-string-start>
- <#bad-eof-in-blank>
- <#bad-eof-in-escape>
- <#bad-eof-in-lang-suffix>
- <#bad-eof-in-lang>
- <#bad-eof-in-list>
- <#bad-eof-in-long-string>
- <#bad-eof-in-object-list>
- <#bad-eof-in-object-list2>
- <#bad-eof-in-predicate-list>
- <#bad-eof-in-string>
- <#bad-eof-in-text-character>
- <#bad-eof-in-triple-quote>
- <#bad-eof-in-uri>
- <#bad-eof-in-uri-character>
- <#bad-eof-in-uri-scheme>
- <#bad-eof-in-utf8-character>
<#bad-equivalence>
<#bad-escape>
<#bad-ext-namedblank-op>
@@ -99,6 +63,10 @@
<#bad-is-of-keywords>
<#bad-keywords>
<#bad-lang>
+ <#bad-lang-start-delete>
+ <#bad-lang-start-space>
+ <#bad-lang-start-tab>
+ <#bad-lang-start-wide>
<#bad-list>
<#bad-list-close-object>
<#bad-list2>
@@ -128,7 +96,10 @@
<#bad-true-subject>
<#bad-uri-escape>
<#bad-uri-scheme>
- <#bad-uri-scheme-start>
+ <#bad-uri-scheme-start-delete>
+ <#bad-uri-scheme-start-space>
+ <#bad-uri-scheme-start-tab>
+ <#bad-uri-scheme-start-wide>
<#bad-uri-truncated>
<#bad-verb>
) .
@@ -243,96 +214,6 @@
mf:action <bad-empty-blank-predicate.ttl> ;
mf:name "bad-empty-blank-predicate" .
-<#bad-nt-eof-after-blank>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-blank.nt> ;
- mf:name "bad-nt-eof-after-blank" .
-
-<#bad-nt-eof-after-lang>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-lang.nt> ;
- mf:name "bad-nt-eof-after-lang" .
-
-<#bad-nt-eof-after-lang-hyphen>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-lang-hyphen.nt> ;
- mf:name "bad-nt-eof-after-lang-hyphen" .
-
-<#bad-nt-eof-after-lang-subtag>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-lang-subtag.nt> ;
- mf:name "bad-nt-eof-after-lang-subtag" .
-
-<#bad-nt-eof-after-object>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-object.nt> ;
- mf:name "bad-nt-eof-after-object" .
-
-<#bad-nt-eof-after-predicate>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-predicate.nt> ;
- mf:name "bad-nt-eof-after-predicate" .
-
-<#bad-nt-eof-after-string>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-string.nt> ;
- mf:name "bad-nt-eof-after-string" .
-
-<#bad-nt-eof-after-string-escape>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-string-escape.nt> ;
- mf:name "bad-nt-eof-after-string-escape" .
-
-<#bad-nt-eof-after-subject>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-subject.nt> ;
- mf:name "bad-nt-eof-after-subject" .
-
-<#bad-nt-eof-after-underscore>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-after-underscore.nt> ;
- mf:name "bad-nt-eof-after-underscore" .
-
-<#bad-nt-eof-before-blank>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-before-blank.nt> ;
- mf:name "bad-nt-eof-before-blank" .
-
-<#bad-nt-eof-before-iri>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-before-iri.nt> ;
- mf:name "bad-nt-eof-before-iri" .
-
-<#bad-nt-eof-before-lang>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-before-lang.nt> ;
- mf:name "bad-nt-eof-before-lang" .
-
-<#bad-nt-eof-before-string>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-before-string.nt> ;
- mf:name "bad-nt-eof-before-string" .
-
-<#bad-nt-eof-before-string-escape>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-before-string-escape.nt> ;
- mf:name "bad-nt-eof-before-string-escape" .
-
-<#bad-nt-eof-in-iri-path>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-in-iri-path.nt> ;
- mf:name "bad-nt-eof-in-iri-path" .
-
-<#bad-nt-eof-in-iri-scheme>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-in-iri-scheme.nt> ;
- mf:name "bad-nt-eof-in-iri-scheme" .
-
-<#bad-nt-eof-in-string>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-nt-eof-in-string.nt> ;
- mf:name "bad-nt-eof-in-string" .
-
<#bad-nt-syntax-blank-u00F7>
a rdft:TestNTriplesNegativeSyntax ;
mf:action <bad-nt-syntax-blank-u00F7.nt> ;
@@ -428,96 +309,6 @@
mf:action <bad-nt-syntax-uri-opening-brace.nt> ;
mf:name "bad-nt-syntax-uri-opening-brace" .
-<#bad-eof-after-quotes>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-after-quotes.ttl> ;
- mf:name "bad-eof-after-quotes" .
-
-<#bad-eof-at-string-start>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-at-string-start.ttl> ;
- mf:name "bad-eof-at-string-start" .
-
-<#bad-eof-in-blank>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-blank.ttl> ;
- mf:name "bad-eof-in-blank" .
-
-<#bad-eof-in-escape>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-escape.ttl> ;
- mf:name "bad-eof-in-escape" .
-
-<#bad-eof-in-lang>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-lang.ttl> ;
- mf:name "bad-eof-in-lang" .
-
-<#bad-eof-in-lang-suffix>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-lang-suffix.ttl> ;
- mf:name "bad-eof-in-lang-suffix" .
-
-<#bad-eof-in-list>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-list.ttl> ;
- mf:name "bad-eof-in-list" .
-
-<#bad-eof-in-long-string>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-long-string.ttl> ;
- mf:name "bad-eof-in-long-string" .
-
-<#bad-eof-in-object-list>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-object-list.ttl> ;
- mf:name "bad-eof-in-object-list" .
-
-<#bad-eof-in-object-list2>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-object-list2.ttl> ;
- mf:name "bad-eof-in-object-list2" .
-
-<#bad-eof-in-predicate-list>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-predicate-list.ttl> ;
- mf:name "bad-eof-in-predicate-list" .
-
-<#bad-eof-in-string>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-string.ttl> ;
- mf:name "bad-eof-in-string" .
-
-<#bad-eof-in-text-character>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-text-character.ttl> ;
- mf:name "bad-eof-in-text-character" .
-
-<#bad-eof-in-triple-quote>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-triple-quote.ttl> ;
- mf:name "bad-eof-in-triple-quote" .
-
-<#bad-eof-in-uri>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-uri.ttl> ;
- mf:name "bad-eof-in-uri" .
-
-<#bad-eof-in-uri-character>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-uri-character.ttl> ;
- mf:name "bad-eof-in-uri-character" .
-
-<#bad-eof-in-uri-scheme>
- a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-eof-in-uri-scheme.nt> ;
- mf:name "bad-eof-in-uri-scheme" .
-
-<#bad-eof-in-utf8-character>
- a rdft:TestTurtleNegativeSyntax ;
- mf:action <bad-eof-in-utf8-character.ttl> ;
- mf:name "bad-eof-in-utf8-character" .
-
<#bad-equivalence>
a rdft:TestTurtleNegativeSyntax ;
mf:action <bad-equivalence.ttl> ;
@@ -598,6 +389,26 @@
mf:action <bad-lang.ttl> ;
mf:name "bad-lang" .
+<#bad-lang-start-delete>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-lang-start-delete.nt> ;
+ mf:name "bad-lang-start-delete" .
+
+<#bad-lang-start-space>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-lang-start-space.nt> ;
+ mf:name "bad-lang-start-space" .
+
+<#bad-lang-start-tab>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-lang-start-tab.nt> ;
+ mf:name "bad-lang-start-tab" .
+
+<#bad-lang-start-wide>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-lang-start-wide.nt> ;
+ mf:name "bad-lang-start-wide" .
+
<#bad-list>
a rdft:TestTurtleNegativeSyntax ;
mf:action <bad-list.ttl> ;
@@ -743,10 +554,30 @@
mf:action <bad-uri-scheme.nt> ;
mf:name "bad-uri-scheme" .
-<#bad-uri-scheme-start>
+<#bad-uri-scheme-start-apostrophe>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-uri-scheme-start-apostrophe.nt> ;
+ mf:name "bad-uri-scheme-start-apostrophe" .
+
+<#bad-uri-scheme-start-delete>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-uri-scheme-start-delete.nt> ;
+ mf:name "bad-uri-scheme-start-delete" .
+
+<#bad-uri-scheme-start-space>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-uri-scheme-start-space.nt> ;
+ mf:name "bad-uri-scheme-start-space" .
+
+<#bad-uri-scheme-start-tab>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-uri-scheme-start-tab.nt> ;
+ mf:name "bad-uri-scheme-start-tab" .
+
+<#bad-uri-scheme-start-wide>
a rdft:TestNTriplesNegativeSyntax ;
- mf:action <bad-uri-scheme-start.nt> ;
- mf:name "bad-uri-scheme-start" .
+ mf:action <bad-uri-scheme-start-wide.nt> ;
+ mf:name "bad-uri-scheme-start-wide" .
<#bad-uri-truncated>
a rdft:TestNTriplesNegativeSyntax ;
diff --git a/test/extra/eof/README.md b/test/extra/eof/README.md
new file mode 100644
index 00000000..1e461f79
--- /dev/null
+++ b/test/extra/eof/README.md
@@ -0,0 +1,5 @@
+EOF Test Suite
+==============
+
+This simple suite tests that inputs truncated in various places are handled
+correctly.
diff --git a/test/extra/bad/bad-nt-eof-after-blank.nt b/test/extra/eof/bad-nt-eof-after-blank.nt
index bc66ca37..bc66ca37 100644
--- a/test/extra/bad/bad-nt-eof-after-blank.nt
+++ b/test/extra/eof/bad-nt-eof-after-blank.nt
diff --git a/test/extra/bad/bad-nt-eof-after-lang-hyphen.nt b/test/extra/eof/bad-nt-eof-after-lang-hyphen.nt
index 9e885d80..9e885d80 100644
--- a/test/extra/bad/bad-nt-eof-after-lang-hyphen.nt
+++ b/test/extra/eof/bad-nt-eof-after-lang-hyphen.nt
diff --git a/test/extra/bad/bad-nt-eof-after-lang-subtag.nt b/test/extra/eof/bad-nt-eof-after-lang-subtag.nt
index f8158aec..f8158aec 100644
--- a/test/extra/bad/bad-nt-eof-after-lang-subtag.nt
+++ b/test/extra/eof/bad-nt-eof-after-lang-subtag.nt
diff --git a/test/extra/bad/bad-nt-eof-after-lang.nt b/test/extra/eof/bad-nt-eof-after-lang.nt
index 7ab04b06..7ab04b06 100644
--- a/test/extra/bad/bad-nt-eof-after-lang.nt
+++ b/test/extra/eof/bad-nt-eof-after-lang.nt
diff --git a/test/extra/bad/bad-nt-eof-after-object.nt b/test/extra/eof/bad-nt-eof-after-object.nt
index e796f2b0..e796f2b0 100644
--- a/test/extra/bad/bad-nt-eof-after-object.nt
+++ b/test/extra/eof/bad-nt-eof-after-object.nt
diff --git a/test/extra/bad/bad-nt-eof-after-predicate.nt b/test/extra/eof/bad-nt-eof-after-predicate.nt
index ea47bfbe..ea47bfbe 100644
--- a/test/extra/bad/bad-nt-eof-after-predicate.nt
+++ b/test/extra/eof/bad-nt-eof-after-predicate.nt
diff --git a/test/extra/bad/bad-nt-eof-after-string-escape.nt b/test/extra/eof/bad-nt-eof-after-string-escape.nt
index 869907e8..869907e8 100644
--- a/test/extra/bad/bad-nt-eof-after-string-escape.nt
+++ b/test/extra/eof/bad-nt-eof-after-string-escape.nt
diff --git a/test/extra/bad/bad-nt-eof-after-string.nt b/test/extra/eof/bad-nt-eof-after-string.nt
index 32dda36d..32dda36d 100644
--- a/test/extra/bad/bad-nt-eof-after-string.nt
+++ b/test/extra/eof/bad-nt-eof-after-string.nt
diff --git a/test/extra/bad/bad-nt-eof-after-subject.nt b/test/extra/eof/bad-nt-eof-after-subject.nt
index 21fa07f4..21fa07f4 100644
--- a/test/extra/bad/bad-nt-eof-after-subject.nt
+++ b/test/extra/eof/bad-nt-eof-after-subject.nt
diff --git a/test/extra/bad/bad-nt-eof-after-underscore.nt b/test/extra/eof/bad-nt-eof-after-underscore.nt
index 4b05f2ac..4b05f2ac 100644
--- a/test/extra/bad/bad-nt-eof-after-underscore.nt
+++ b/test/extra/eof/bad-nt-eof-after-underscore.nt
diff --git a/test/extra/bad/bad-nt-eof-before-blank.nt b/test/extra/eof/bad-nt-eof-before-blank.nt
index 99f70844..99f70844 100644
--- a/test/extra/bad/bad-nt-eof-before-blank.nt
+++ b/test/extra/eof/bad-nt-eof-before-blank.nt
diff --git a/test/extra/bad/bad-nt-eof-before-iri.nt b/test/extra/eof/bad-nt-eof-before-iri.nt
index c5fa7845..c5fa7845 100644
--- a/test/extra/bad/bad-nt-eof-before-iri.nt
+++ b/test/extra/eof/bad-nt-eof-before-iri.nt
diff --git a/test/extra/bad/bad-nt-eof-before-lang.nt b/test/extra/eof/bad-nt-eof-before-lang.nt
index f1a9d0df..f1a9d0df 100644
--- a/test/extra/bad/bad-nt-eof-before-lang.nt
+++ b/test/extra/eof/bad-nt-eof-before-lang.nt
diff --git a/test/extra/bad/bad-nt-eof-before-string-escape.nt b/test/extra/eof/bad-nt-eof-before-string-escape.nt
index 30443488..30443488 100644
--- a/test/extra/bad/bad-nt-eof-before-string-escape.nt
+++ b/test/extra/eof/bad-nt-eof-before-string-escape.nt
diff --git a/test/extra/bad/bad-nt-eof-before-string.nt b/test/extra/eof/bad-nt-eof-before-string.nt
index 6a2a7543..6a2a7543 100644
--- a/test/extra/bad/bad-nt-eof-before-string.nt
+++ b/test/extra/eof/bad-nt-eof-before-string.nt
diff --git a/test/extra/bad/bad-nt-eof-in-iri-path.nt b/test/extra/eof/bad-nt-eof-in-iri-path.nt
index e8555e2b..e8555e2b 100644
--- a/test/extra/bad/bad-nt-eof-in-iri-path.nt
+++ b/test/extra/eof/bad-nt-eof-in-iri-path.nt
diff --git a/test/extra/bad/bad-nt-eof-in-iri-scheme.nt b/test/extra/eof/bad-nt-eof-in-iri-scheme.nt
index 2c071547..2c071547 100644
--- a/test/extra/bad/bad-nt-eof-in-iri-scheme.nt
+++ b/test/extra/eof/bad-nt-eof-in-iri-scheme.nt
diff --git a/test/extra/bad/bad-nt-eof-in-string.nt b/test/extra/eof/bad-nt-eof-in-string.nt
index 98944654..98944654 100644
--- a/test/extra/bad/bad-nt-eof-in-string.nt
+++ b/test/extra/eof/bad-nt-eof-in-string.nt
diff --git a/test/extra/bad/bad-eof-after-quotes.ttl b/test/extra/eof/bad-ttl-eof-after-quotes.ttl
index 40e429cb..40e429cb 100644
--- a/test/extra/bad/bad-eof-after-quotes.ttl
+++ b/test/extra/eof/bad-ttl-eof-after-quotes.ttl
diff --git a/test/extra/bad/bad-eof-at-string-start.ttl b/test/extra/eof/bad-ttl-eof-at-string-start.ttl
index 93d20bcc..93d20bcc 100644
--- a/test/extra/bad/bad-eof-at-string-start.ttl
+++ b/test/extra/eof/bad-ttl-eof-at-string-start.ttl
diff --git a/test/extra/bad/bad-eof-in-blank.ttl b/test/extra/eof/bad-ttl-eof-in-blank.ttl
index 8cf4ee84..8cf4ee84 100644
--- a/test/extra/bad/bad-eof-in-blank.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-blank.ttl
diff --git a/test/extra/bad/bad-eof-in-escape.ttl b/test/extra/eof/bad-ttl-eof-in-escape.ttl
index 24b4eec6..24b4eec6 100644
--- a/test/extra/bad/bad-eof-in-escape.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-escape.ttl
diff --git a/test/extra/bad/bad-eof-in-lang-suffix.ttl b/test/extra/eof/bad-ttl-eof-in-lang-suffix.ttl
index f46a7763..f46a7763 100644
--- a/test/extra/bad/bad-eof-in-lang-suffix.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-lang-suffix.ttl
diff --git a/test/extra/bad/bad-eof-in-lang.ttl b/test/extra/eof/bad-ttl-eof-in-lang.ttl
index bfdffd02..bfdffd02 100644
--- a/test/extra/bad/bad-eof-in-lang.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-lang.ttl
diff --git a/test/extra/bad/bad-eof-in-list.ttl b/test/extra/eof/bad-ttl-eof-in-list.ttl
index 13eeb88d..13eeb88d 100644
--- a/test/extra/bad/bad-eof-in-list.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-list.ttl
diff --git a/test/extra/bad/bad-eof-in-long-string.ttl b/test/extra/eof/bad-ttl-eof-in-long-string.ttl
index 2ef179a8..2ef179a8 100644
--- a/test/extra/bad/bad-eof-in-long-string.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-long-string.ttl
diff --git a/test/extra/bad/bad-eof-in-object-list.ttl b/test/extra/eof/bad-ttl-eof-in-object-list.ttl
index 9bbcd17a..9bbcd17a 100644
--- a/test/extra/bad/bad-eof-in-object-list.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-object-list.ttl
diff --git a/test/extra/bad/bad-eof-in-object-list2.ttl b/test/extra/eof/bad-ttl-eof-in-object-list2.ttl
index 9186fb9f..9186fb9f 100644
--- a/test/extra/bad/bad-eof-in-object-list2.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-object-list2.ttl
diff --git a/test/extra/bad/bad-eof-in-predicate-list.ttl b/test/extra/eof/bad-ttl-eof-in-predicate-list.ttl
index eab5b05b..eab5b05b 100644
--- a/test/extra/bad/bad-eof-in-predicate-list.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-predicate-list.ttl
diff --git a/test/extra/bad/bad-eof-in-string.ttl b/test/extra/eof/bad-ttl-eof-in-string.ttl
index bb6e817f..bb6e817f 100644
--- a/test/extra/bad/bad-eof-in-string.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-string.ttl
diff --git a/test/extra/bad/bad-eof-in-text-character.ttl b/test/extra/eof/bad-ttl-eof-in-text-character.ttl
index a614803a..a614803a 100644
--- a/test/extra/bad/bad-eof-in-text-character.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-text-character.ttl
diff --git a/test/extra/bad/bad-eof-in-triple-quote.ttl b/test/extra/eof/bad-ttl-eof-in-triple-quote.ttl
index fb935441..fb935441 100644
--- a/test/extra/bad/bad-eof-in-triple-quote.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-triple-quote.ttl
diff --git a/test/extra/bad/bad-eof-in-uri-character.ttl b/test/extra/eof/bad-ttl-eof-in-uri-character.ttl
index eda70770..eda70770 100644
--- a/test/extra/bad/bad-eof-in-uri-character.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-uri-character.ttl
diff --git a/test/extra/bad/bad-eof-in-uri-scheme.nt b/test/extra/eof/bad-ttl-eof-in-uri-scheme.ttl
index de892dcf..de892dcf 100644
--- a/test/extra/bad/bad-eof-in-uri-scheme.nt
+++ b/test/extra/eof/bad-ttl-eof-in-uri-scheme.ttl
diff --git a/test/extra/bad/bad-eof-in-uri.ttl b/test/extra/eof/bad-ttl-eof-in-uri.ttl
index 07b6e6ab..07b6e6ab 100644
--- a/test/extra/bad/bad-eof-in-uri.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-uri.ttl
diff --git a/test/extra/bad/bad-eof-in-utf8-character.ttl b/test/extra/eof/bad-ttl-eof-in-utf8-character.ttl
index 16784e88..16784e88 100644
--- a/test/extra/bad/bad-eof-in-utf8-character.ttl
+++ b/test/extra/eof/bad-ttl-eof-in-utf8-character.ttl
diff --git a/test/extra/eof/manifest.ttl b/test/extra/eof/manifest.ttl
new file mode 100644
index 00000000..465333f7
--- /dev/null
+++ b/test/extra/eof/manifest.ttl
@@ -0,0 +1,225 @@
+@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix rdft: <http://www.w3.org/ns/rdftest#> .
+
+<>
+ a mf:Manifest ;
+ rdfs:comment "Serd EOF (truncated input) test suite" ;
+ mf:entries (
+ <#bad-nt-eof-after-blank>
+ <#bad-nt-eof-after-lang>
+ <#bad-nt-eof-after-lang-hyphen>
+ <#bad-nt-eof-after-lang-subtag>
+ <#bad-nt-eof-after-object>
+ <#bad-nt-eof-after-predicate>
+ <#bad-nt-eof-after-string>
+ <#bad-nt-eof-after-string-escape>
+ <#bad-nt-eof-after-subject>
+ <#bad-nt-eof-after-underscore>
+ <#bad-nt-eof-before-blank>
+ <#bad-nt-eof-before-iri>
+ <#bad-nt-eof-before-lang>
+ <#bad-nt-eof-before-string>
+ <#bad-nt-eof-before-string-escape>
+ <#bad-nt-eof-in-iri-path>
+ <#bad-nt-eof-in-iri-scheme>
+ <#bad-nt-eof-in-string>
+ <#bad-ttl-eof-after-quotes>
+ <#bad-ttl-eof-at-string-start>
+ <#bad-ttl-eof-in-blank>
+ <#bad-ttl-eof-in-escape>
+ <#bad-ttl-eof-in-lang>
+ <#bad-ttl-eof-in-lang-suffix>
+ <#bad-ttl-eof-in-list>
+ <#bad-ttl-eof-in-long-string>
+ <#bad-ttl-eof-in-object-list>
+ <#bad-ttl-eof-in-object-list2>
+ <#bad-ttl-eof-in-predicate-list>
+ <#bad-ttl-eof-in-string>
+ <#bad-ttl-eof-in-text-character>
+ <#bad-ttl-eof-in-triple-quote>
+ <#bad-ttl-eof-in-uri>
+ <#bad-ttl-eof-in-uri-character>
+ <#bad-ttl-eof-in-uri-scheme>
+ <#bad-ttl-eof-in-utf8-character>
+ ) .
+
+<#bad-nt-eof-after-blank>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-blank.nt> ;
+ mf:name "bad-nt-eof-after-blank" .
+
+<#bad-nt-eof-after-lang>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-lang.nt> ;
+ mf:name "bad-nt-eof-after-lang" .
+
+<#bad-nt-eof-after-lang-hyphen>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-lang-hyphen.nt> ;
+ mf:name "bad-nt-eof-after-lang-hyphen" .
+
+<#bad-nt-eof-after-lang-subtag>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-lang-subtag.nt> ;
+ mf:name "bad-nt-eof-after-lang-subtag" .
+
+<#bad-nt-eof-after-object>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-object.nt> ;
+ mf:name "bad-nt-eof-after-object" .
+
+<#bad-nt-eof-after-predicate>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-predicate.nt> ;
+ mf:name "bad-nt-eof-after-predicate" .
+
+<#bad-nt-eof-after-string>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-string.nt> ;
+ mf:name "bad-nt-eof-after-string" .
+
+<#bad-nt-eof-after-string-escape>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-string-escape.nt> ;
+ mf:name "bad-nt-eof-after-string-escape" .
+
+<#bad-nt-eof-after-subject>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-subject.nt> ;
+ mf:name "bad-nt-eof-after-subject" .
+
+<#bad-nt-eof-after-underscore>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-after-underscore.nt> ;
+ mf:name "bad-nt-eof-after-underscore" .
+
+<#bad-nt-eof-before-blank>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-before-blank.nt> ;
+ mf:name "bad-nt-eof-before-blank" .
+
+<#bad-nt-eof-before-iri>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-before-iri.nt> ;
+ mf:name "bad-nt-eof-before-iri" .
+
+<#bad-nt-eof-before-lang>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-before-lang.nt> ;
+ mf:name "bad-nt-eof-before-lang" .
+
+<#bad-nt-eof-before-string>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-before-string.nt> ;
+ mf:name "bad-nt-eof-before-string" .
+
+<#bad-nt-eof-before-string-escape>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-before-string-escape.nt> ;
+ mf:name "bad-nt-eof-before-string-escape" .
+
+<#bad-nt-eof-in-iri-path>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-in-iri-path.nt> ;
+ mf:name "bad-nt-eof-in-iri-path" .
+
+<#bad-nt-eof-in-iri-scheme>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-in-iri-scheme.nt> ;
+ mf:name "bad-nt-eof-in-iri-scheme" .
+
+<#bad-nt-eof-in-string>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-nt-eof-in-string.nt> ;
+ mf:name "bad-nt-eof-in-string" .
+
+<#bad-ttl-eof-after-quotes>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-after-quotes.ttl> ;
+ mf:name "bad-ttl-eof-after-quotes" .
+
+<#bad-ttl-eof-at-string-start>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-at-string-start.ttl> ;
+ mf:name "bad-ttl-eof-at-string-start" .
+
+<#bad-ttl-eof-in-blank>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-blank.ttl> ;
+ mf:name "bad-ttl-eof-in-blank" .
+
+<#bad-ttl-eof-in-escape>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-escape.ttl> ;
+ mf:name "bad-ttl-eof-in-escape" .
+
+<#bad-ttl-eof-in-lang>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-lang.ttl> ;
+ mf:name "bad-ttl-eof-in-lang" .
+
+<#bad-ttl-eof-in-lang-suffix>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-lang-suffix.ttl> ;
+ mf:name "bad-ttl-eof-in-lang-suffix" .
+
+<#bad-ttl-eof-in-list>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-list.ttl> ;
+ mf:name "bad-ttl-eof-in-list" .
+
+<#bad-ttl-eof-in-long-string>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-long-string.ttl> ;
+ mf:name "bad-ttl-eof-in-long-string" .
+
+<#bad-ttl-eof-in-object-list>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-object-list.ttl> ;
+ mf:name "bad-ttl-eof-in-object-list" .
+
+<#bad-ttl-eof-in-object-list2>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-object-list2.ttl> ;
+ mf:name "bad-ttl-eof-in-object-list2" .
+
+<#bad-ttl-eof-in-predicate-list>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-predicate-list.ttl> ;
+ mf:name "bad-ttl-eof-in-predicate-list" .
+
+<#bad-ttl-eof-in-string>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-string.ttl> ;
+ mf:name "bad-ttl-eof-in-string" .
+
+<#bad-ttl-eof-in-text-character>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-text-character.ttl> ;
+ mf:name "bad-ttl-eof-in-text-character" .
+
+<#bad-ttl-eof-in-triple-quote>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-triple-quote.ttl> ;
+ mf:name "bad-ttl-eof-in-triple-quote" .
+
+<#bad-ttl-eof-in-uri>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-uri.ttl> ;
+ mf:name "bad-ttl-eof-in-uri" .
+
+<#bad-ttl-eof-in-uri-character>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-uri-character.ttl> ;
+ mf:name "bad-ttl-eof-in-uri-character" .
+
+<#bad-ttl-eof-in-uri-scheme>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-uri-scheme.ttl> ;
+ mf:name "bad-ttl-eof-in-uri-scheme" .
+
+<#bad-ttl-eof-in-utf8-character>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-ttl-eof-in-utf8-character.ttl> ;
+ mf:name "bad-ttl-eof-in-utf8-character" .
diff --git a/test/extra/good/manifest.ttl b/test/extra/good/manifest.ttl
index 350d7d9c..659f8fd1 100644
--- a/test/extra/good/manifest.ttl
+++ b/test/extra/good/manifest.ttl
@@ -16,16 +16,21 @@
<#test-blank-node-statement>
<#test-blankdot>
<#test-bom>
+ <#test-boolish-prefix>
<#test-changing-base>
<#test-comment-whitespace>
<#test-cr>
<#test-digit-start-pname>
+ <#test-decimal-ends-with-dot>
<#test-double>
+ <#test-double-ends-with-dot>
<#test-empty-path-base>
<#test-eof-at-page-end>
<#test-ext-namedblank-iri>
<#test-ext-namedblank-prefix>
+ <#test-false-ends-with-dot>
<#test-id>
+ <#test-integer-ends-with-dot>
<#test-list-in-blank>
<#test-list-subject>
<#test-local-name-ends-with-dot>
@@ -56,6 +61,7 @@
<#test-several-eaten-dots>
<#test-string-escapes>
<#test-trig-syntax-all-rules>
+ <#test-true-ends-with-dot>
<#test-ttl-syntax-all-rules>
<#test-uri>
) .
@@ -120,6 +126,18 @@
mf:name "test-bom" ;
mf:result <test-bom.nt> .
+<#test-bom-only>
+ a rdft:TestTurtleEval ;
+ mf:action <test-bom-only.ttl> ;
+ mf:name "test-bom-only" ;
+ mf:result <test-bom-only.nt> .
+
+<#test-boolish-prefix>
+ a rdft:TestTurtleEval ;
+ mf:action <test-boolish-prefix.ttl> ;
+ mf:name "test-boolish-prefix" ;
+ mf:result <test-boolish-prefix.nt> .
+
<#test-changing-base>
a rdft:TestTurtleEval ;
mf:action <test-changing-base.ttl> ;
@@ -144,12 +162,24 @@
mf:name "test-digit-start-pname" ;
mf:result <test-digit-start-pname.nt> .
+<#test-decimal-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-decimal-ends-with-dot.ttl> ;
+ mf:name "test-decimal-ends-with-dot" ;
+ mf:result <test-decimal-ends-with-dot.nt> .
+
<#test-double>
a rdft:TestTurtleEval ;
mf:action <test-double.ttl> ;
mf:name "test-double" ;
mf:result <test-double.nt> .
+<#test-double-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-double-ends-with-dot.ttl> ;
+ mf:name "test-double-ends-with-dot" ;
+ mf:result <test-double-ends-with-dot.nt> .
+
<#test-empty-path-base>
a rdft:TestTurtleEval ;
mf:action <test-empty-path-base.ttl> ;
@@ -174,12 +204,24 @@
mf:name "test-ext-namedblank-prefix" ;
mf:result <test-ext-namedblank-prefix.nt> .
+<#test-false-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-false-ends-with-dot.ttl> ;
+ mf:name "test-false-ends-with-dot" ;
+ mf:result <test-false-ends-with-dot.nt> .
+
<#test-id>
a rdft:TestTurtleEval ;
mf:action <test-id.ttl> ;
mf:name "test-id" ;
mf:result <test-id.nt> .
+<#test-integer-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-integer-ends-with-dot.ttl> ;
+ mf:name "test-integer-ends-with-dot" ;
+ mf:result <test-integer-ends-with-dot.nt> .
+
<#test-list-in-blank>
a rdft:TestTurtleEval ;
mf:action <test-list-in-blank.ttl> ;
@@ -344,6 +386,12 @@
mf:action <test-trig-syntax-all-rules.trig> ;
mf:name "test-trig-syntax-all-rules" .
+<#test-true-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-true-ends-with-dot.ttl> ;
+ mf:name "test-true-ends-with-dot" ;
+ mf:result <test-true-ends-with-dot.nt> .
+
<#test-ttl-syntax-all-rules>
a rdft:TestTurtlePositiveSyntax ;
mf:action <test-ttl-syntax-all-rules.ttl> ;
diff --git a/test/extra/good/test-bom-only.nt b/test/extra/good/test-bom-only.nt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/extra/good/test-bom-only.nt
diff --git a/test/extra/good/test-bom-only.ttl b/test/extra/good/test-bom-only.ttl
new file mode 100644
index 00000000..5f282702
--- /dev/null
+++ b/test/extra/good/test-bom-only.ttl
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/test/extra/good/test-boolish-prefix.nt b/test/extra/good/test-boolish-prefix.nt
new file mode 100644
index 00000000..d49eeab2
--- /dev/null
+++ b/test/extra/good/test-boolish-prefix.nt
@@ -0,0 +1,2 @@
+<http://example.org/s> <http://example.org/p> <http://example.org/falseish#o> .
+<http://example.org/s> <http://example.org/p> <http://example.org/trueish#o> .
diff --git a/test/extra/good/test-boolish-prefix.ttl b/test/extra/good/test-boolish-prefix.ttl
new file mode 100644
index 00000000..81ffdf11
--- /dev/null
+++ b/test/extra/good/test-boolish-prefix.ttl
@@ -0,0 +1,5 @@
+@prefix false.ish: <http://example.org/falseish#> .
+@prefix true.ish: <http://example.org/trueish#> .
+
+<http://example.org/s> <http://example.org/p> false.ish:o .
+<http://example.org/s> <http://example.org/p> true.ish:o .
diff --git a/test/extra/good/test-decimal-ends-with-dot.nt b/test/extra/good/test-decimal-ends-with-dot.nt
new file mode 100644
index 00000000..be0802bc
--- /dev/null
+++ b/test/extra/good/test-decimal-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "12.3"^^<http://www.w3.org/2001/XMLSchema#decimal> .
diff --git a/test/extra/good/test-decimal-ends-with-dot.ttl b/test/extra/good/test-decimal-ends-with-dot.ttl
new file mode 100644
index 00000000..a63970d3
--- /dev/null
+++ b/test/extra/good/test-decimal-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p 12.3.
diff --git a/test/extra/good/test-double-ends-with-dot.nt b/test/extra/good/test-double-ends-with-dot.nt
new file mode 100644
index 00000000..20e4395e
--- /dev/null
+++ b/test/extra/good/test-double-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "12.3e4"^^<http://www.w3.org/2001/XMLSchema#double> .
diff --git a/test/extra/good/test-double-ends-with-dot.ttl b/test/extra/good/test-double-ends-with-dot.ttl
new file mode 100644
index 00000000..4bd17a0b
--- /dev/null
+++ b/test/extra/good/test-double-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p 12.3e4.
diff --git a/test/extra/good/test-false-ends-with-dot.nt b/test/extra/good/test-false-ends-with-dot.nt
new file mode 100644
index 00000000..3b811813
--- /dev/null
+++ b/test/extra/good/test-false-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
diff --git a/test/extra/good/test-false-ends-with-dot.ttl b/test/extra/good/test-false-ends-with-dot.ttl
new file mode 100644
index 00000000..14e2aa90
--- /dev/null
+++ b/test/extra/good/test-false-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p false.
diff --git a/test/extra/good/test-integer-ends-with-dot.nt b/test/extra/good/test-integer-ends-with-dot.nt
new file mode 100644
index 00000000..7d6ff362
--- /dev/null
+++ b/test/extra/good/test-integer-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/test/extra/good/test-integer-ends-with-dot.ttl b/test/extra/good/test-integer-ends-with-dot.ttl
new file mode 100644
index 00000000..350ea41d
--- /dev/null
+++ b/test/extra/good/test-integer-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p 12.
diff --git a/test/extra/good/test-nq-syntax-all-rules.nq b/test/extra/good/test-nq-syntax-all-rules.nq
index a8b80b9a..f9bffe20 100644
--- a/test/extra/good/test-nq-syntax-all-rules.nq
+++ b/test/extra/good/test-nq-syntax-all-rules.nq
@@ -2,6 +2,6 @@
_:e.u.s <http://example.org/p> _:o.
_:e.u.s <http://example.org/p> "o"@en-gb _:g.
_:s <http://example.org/p> "ob\t\b\n\r\f\\\"\'\u0025\U00015678ject" <http://example.org/g> .
-_:s <http://example.org/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" <http://example.org/g> .
+_:Σ <http://example.org/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" <http://example.org/g> .
_:s <http://example.org/p> "o"^^<http://example.org/T> <http://example.org/g> .
_:s <http://example.org/p> "o"@en _:g .
diff --git a/test/extra/good/test-nt-syntax-all-rules.nt b/test/extra/good/test-nt-syntax-all-rules.nt
index ed84f410..c626a702 100644
--- a/test/extra/good/test-nt-syntax-all-rules.nt
+++ b/test/extra/good/test-nt-syntax-all-rules.nt
@@ -4,4 +4,4 @@ _:s <http://example.org/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽
_:s <http://example.org/p> "o"^^<http://example.org/T> .
_:s <http://example.org/p> "o"@en .
_:e.u.s <http://example.org/p> "o"@en-gb .
-_:e.u.s <http://example.org/p> _:o.
+_:e.u.s <http://example.org/p> _:Ω.
diff --git a/test/extra/good/test-trig-syntax-all-rules.trig b/test/extra/good/test-trig-syntax-all-rules.trig
index 97557b86..c824ffae 100644
--- a/test/extra/good/test-trig-syntax-all-rules.trig
+++ b/test/extra/good/test-trig-syntax-all-rules.trig
@@ -7,13 +7,13 @@
""string""\t\b\n\r\f\'\u0025\U00015678""" .
eg:s eg:p "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" .
eg:sub%25ject eg:pr\~d "o"^^eg:T .
-eg:sub%25ject eg:pr\~d "o"@en .
+eg:s\@bject eg:pr\~d "o"@en .
_:e.u.s eg:p "o"@en-gb .
_:e.u.s eg:p _:o.
_:e.u.s eg:p‿r⁀d 2.
_:e.u.s eg:prèd 3 .
_:e.u.s eg:pͯ 4.5.
-eg:s eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
+eg:Σ eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
eg:s eg:p .7e8 , .9E0 , 1.e2 , 3.E4 .
eg:s eg:p .2E3 , .4e5 , 6.7E8 , 9.
[ ] eg:p 0.e1, 2.E3.
diff --git a/test/extra/good/test-true-ends-with-dot.nt b/test/extra/good/test-true-ends-with-dot.nt
new file mode 100644
index 00000000..9938065b
--- /dev/null
+++ b/test/extra/good/test-true-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
diff --git a/test/extra/good/test-true-ends-with-dot.ttl b/test/extra/good/test-true-ends-with-dot.ttl
new file mode 100644
index 00000000..ebd3b6e1
--- /dev/null
+++ b/test/extra/good/test-true-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p true.
diff --git a/test/extra/good/test-ttl-syntax-all-rules.ttl b/test/extra/good/test-ttl-syntax-all-rules.ttl
index ead2e8a8..dd4fa315 100644
--- a/test/extra/good/test-ttl-syntax-all-rules.ttl
+++ b/test/extra/good/test-ttl-syntax-all-rules.ttl
@@ -6,13 +6,13 @@
""string""\t\b\n\r\f\'\u0025\U00015678""" .
eg:s eg:p "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" .
eg:sub%25ject eg:pr\~d "o"^^eg:T .
-eg:sub%25ject eg:pr\~d "o"@en .
+eg:s\@bject eg:pr\~d "o"@en .
_:e.u.s eg:p "o"@en-gb .
_:e.u.s eg:p _:o.
_:e.u.s eg:p‿r⁀d 2.
_:e.u.s eg:prèd 3 .
_:e.u.s eg:pͯ 4.5.
-eg:s eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
+eg:Σ eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
eg:s eg:p .7e8 , .9E0 , 1.e2 , 3.E4 .
eg:s eg:p .2E3 , .4e5 , 6.7E8 , 9.
[ ] eg:p 0.e1, 2.E3.
@@ -20,7 +20,7 @@ eg:s eg:p .2E3 , .4e5 , 6.7E8 , 9.
eg:s eg:p [] .
[
eg:p1 eg:o1 ;
- eg:p2 _:o2 ;
+ eg:p2 _:β2 ;
eg:p3 "o3" ;
] a eg:S .