From 22f5f5c7e32b043433103edb404bfbe43effa15d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 May 2011 22:50:07 +0000 Subject: Add base_uri parameter to sord_read_file. Add sord_write_writer. Use command line base URI in sordi if given. Use correct output style options for output syntax in sordi. Use sord_write_writer in sordi instead of manual writing code. Abbreviate serialised model output for Turtle. Preserve UTF-8 length information for nodes from Serd. Use string lengths not including terminator (match new Serd). Add test suite. git-svn-id: http://svn.drobilla.net/sord/trunk@111 3d64ff67-21c5-427c-a301-fe4f08042e5a --- tests/test-11.ttl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/test-11.ttl (limited to 'tests/test-11.ttl') diff --git a/tests/test-11.ttl b/tests/test-11.ttl new file mode 100644 index 0000000..3de1a43 --- /dev/null +++ b/tests/test-11.ttl @@ -0,0 +1,10 @@ +# Tests for - and _ in names, qnames +@prefix ex1: . +@prefix ex-2: . +@prefix ex3_: . +@prefix ex4-: . + +ex1:foo-bar ex1:foo_bar "a" . +ex-2:foo-bar ex-2:foo_bar "b" . +ex3_:foo-bar ex3_:foo_bar "c" . +ex4-:foo-bar ex4-:foo_bar "d" . -- cgit v1.2.1