diff options
Diffstat (limited to 'test/extra/bad')
-rw-r--r-- | test/extra/bad/bad-bom-1.ttl | 3 | ||||
-rw-r--r-- | test/extra/bad/bad-bom-2.ttl | 3 | ||||
-rw-r--r-- | test/extra/bad/bad-bom-only-1.ttl | 1 | ||||
-rw-r--r-- | test/extra/bad/bad-bom-only-2.ttl | 1 | ||||
-rw-r--r-- | test/extra/bad/manifest.ttl | 26 |
5 files changed, 30 insertions, 4 deletions
diff --git a/test/extra/bad/bad-bom-1.ttl b/test/extra/bad/bad-bom-1.ttl new file mode 100644 index 00000000..7d7681d4 --- /dev/null +++ b/test/extra/bad/bad-bom-1.ttl @@ -0,0 +1,3 @@ +ï# This file starts with the first byte of the UTF-8 Byte Order Mark + +<http://example.org/thing> a <http://example.org/Thing> . diff --git a/test/extra/bad/bad-bom-2.ttl b/test/extra/bad/bad-bom-2.ttl new file mode 100644 index 00000000..9ce3f093 --- /dev/null +++ b/test/extra/bad/bad-bom-2.ttl @@ -0,0 +1,3 @@ +ï»# This file starts with the first two bytes of the UTF-8 Byte Order Mark + +<http://example.org/thing> a <http://example.org/Thing> . diff --git a/test/extra/bad/bad-bom-only-1.ttl b/test/extra/bad/bad-bom-only-1.ttl new file mode 100644 index 00000000..a4a063a1 --- /dev/null +++ b/test/extra/bad/bad-bom-only-1.ttl @@ -0,0 +1 @@ +ï
\ No newline at end of file diff --git a/test/extra/bad/bad-bom-only-2.ttl b/test/extra/bad/bad-bom-only-2.ttl new file mode 100644 index 00000000..022c50f1 --- /dev/null +++ b/test/extra/bad/bad-bom-only-2.ttl @@ -0,0 +1 @@ +ï»
\ No newline at end of file diff --git a/test/extra/bad/manifest.ttl b/test/extra/bad/manifest.ttl index 7e35e5ff..64dbf05f 100644 --- a/test/extra/bad/manifest.ttl +++ b/test/extra/bad/manifest.ttl @@ -13,7 +13,10 @@ <#bad-blank-node-label> <#bad-blank-predicate> <#bad-blank-syntax> - <#bad-bom> + <#bad-bom-1> + <#bad-bom-2> + <#bad-bom-only-1> + <#bad-bom-only-2> <#bad-char-in-local> <#bad-char-in-prefix> <#bad-char-in-uri> @@ -165,10 +168,25 @@ mf:action <bad-blank-syntax.ttl> ; mf:name "bad-blank-syntax" . -<#bad-bom> +<#bad-bom-1> a rdft:TestTurtleNegativeSyntax ; - mf:action <bad-bom.ttl> ; - mf:name "bad-bom" . + mf:action <bad-bom-1.ttl> ; + mf:name "bad-bom-1" . + +<#bad-bom-2> + a rdft:TestTurtleNegativeSyntax ; + mf:action <bad-bom-2.ttl> ; + mf:name "bad-bom-2" . + +<#bad-bom-only-1> + a rdft:TestTurtleNegativeSyntax ; + mf:action <bad-bom-only-1.ttl> ; + mf:name "bad-bom-only-1" . + +<#bad-bom-only-2> + a rdft:TestTurtleNegativeSyntax ; + mf:action <bad-bom-only-2.ttl> ; + mf:name "bad-bom-only-2" . <#bad-char-in-local> a rdft:TestTurtleNegativeSyntax ; |