From 195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Jun 2017 12:21:09 -0400 Subject: Fix strict parsing of abolute URI schemes --- tests/bad/bad-missing-uri-scheme.nt | 1 + tests/bad/bad-uri-scheme-start.nt | 1 + tests/bad/bad-uri-scheme.nt | 1 + tests/bad/bad-uri-truncated.nt | 1 + tests/good/test-uri.nt | 3 +++ tests/good/test-uri.ttl | 3 +++ 6 files changed, 10 insertions(+) create mode 100644 tests/bad/bad-missing-uri-scheme.nt create mode 100644 tests/bad/bad-uri-scheme-start.nt create mode 100644 tests/bad/bad-uri-scheme.nt create mode 100644 tests/bad/bad-uri-truncated.nt (limited to 'tests') diff --git a/tests/bad/bad-missing-uri-scheme.nt b/tests/bad/bad-missing-uri-scheme.nt new file mode 100644 index 00000000..5d7bc724 --- /dev/null +++ b/tests/bad/bad-missing-uri-scheme.nt @@ -0,0 +1 @@ + . diff --git a/tests/bad/bad-uri-scheme-start.nt b/tests/bad/bad-uri-scheme-start.nt new file mode 100644 index 00000000..cd3fd70f --- /dev/null +++ b/tests/bad/bad-uri-scheme-start.nt @@ -0,0 +1 @@ +<2http://example.org/s> . diff --git a/tests/bad/bad-uri-scheme.nt b/tests/bad/bad-uri-scheme.nt new file mode 100644 index 00000000..1329edcd --- /dev/null +++ b/tests/bad/bad-uri-scheme.nt @@ -0,0 +1 @@ + . diff --git a/tests/bad/bad-uri-truncated.nt b/tests/bad/bad-uri-truncated.nt new file mode 100644 index 00000000..22d29e4b --- /dev/null +++ b/tests/bad/bad-uri-truncated.nt @@ -0,0 +1 @@ + . . . + . + . + . . . diff --git a/tests/good/test-uri.ttl b/tests/good/test-uri.ttl index cf43a38b..b6a8d967 100644 --- a/tests/good/test-uri.ttl +++ b/tests/good/test-uri.ttl @@ -58,6 +58,9 @@ owl:sameAs . <#afragment> owl:sameAs . <../../../../../../> owl:sameAs . + owl:sameAs . + owl:sameAs . + owl:sameAs . @base . -- cgit v1.2.1