diff options
author | David Robillard <d@drobilla.net> | 2011-01-25 16:14:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-25 16:14:02 +0000 |
commit | da60fb781d5fcd4d0b3852cf9586d4f6ebed7dd9 (patch) | |
tree | 0bfce4c0c544b4765e5f1ff080af6b166e004835 /tests | |
parent | e6b7791d17a630dc7d6d8387d627fc1d524425dc (diff) | |
download | serd-da60fb781d5fcd4d0b3852cf9586d4f6ebed7dd9.tar.gz serd-da60fb781d5fcd4d0b3852cf9586d4f6ebed7dd9.tar.bz2 serd-da60fb781d5fcd4d0b3852cf9586d4f6ebed7dd9.zip |
Fix URI resolution of absolute URIs.
Better URI test coverage.
git-svn-id: http://svn.drobilla.net/serd/trunk@64 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-uri.out | 2 | ||||
-rw-r--r-- | tests/test-uri.ttl | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/test-uri.out b/tests/test-uri.out index 6d717fdd..1517d2e4 100644 --- a/tests/test-uri.out +++ b/tests/test-uri.out @@ -25,3 +25,5 @@ <http://A#afragment> <http://www.w3.org/2002/07/owl#sameAs> <http://A#afragment> . <http://a/b/c/d;p?aquery> <http://www.w3.org/2002/07/owl#sameAs> <http://a/b/c/d;p?aquery> . <http://a/b/c/d;p?q#afragment> <http://www.w3.org/2002/07/owl#sameAs> <http://a/b/c/d;p?q#afragment> . +<http://B/foo> <http://www.w3.org/2002/07/owl#sameAs> <http://B/foo> . +<http://C/bar> <http://www.w3.org/2002/07/owl#sameAs> <http://C/bar> . diff --git a/tests/test-uri.ttl b/tests/test-uri.ttl index 4cae4157..22799360 100644 --- a/tests/test-uri.ttl +++ b/tests/test-uri.ttl @@ -34,3 +34,11 @@ <http://A#afragment> owl:sameAs <http://A#afragment> . <?aquery> owl:sameAs <http://a/b/c/d;p?aquery> . <#afragment> owl:sameAs <http://a/b/c/d;p?q#afragment> . + +@base <http://B?bquery> . + +</foo> owl:sameAs <http://B/foo> . + +@base <http://C#cfragment> . + +</bar> owl:sameAs <http://C/bar> . |