diff options
author | David Robillard <d@drobilla.net> | 2011-05-18 02:00:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-18 02:00:03 +0000 |
commit | b92d598a22fdad8c96a1167362d4bb79015af006 (patch) | |
tree | bf4768c8b4357aafbee9218806f1fe80156dc356 /tests | |
parent | 88e6e9a333e99c304451b7755117928a213913ef (diff) | |
download | serd-b92d598a22fdad8c96a1167362d4bb79015af006.tar.gz serd-b92d598a22fdad8c96a1167362d4bb79015af006.tar.bz2 serd-b92d598a22fdad8c96a1167362d4bb79015af006.zip |
Add test to ensure blank node IDs don't clash with generated IDs.
Add handle destructor parameter to serd_reader_new.
Add serd_reader_get_handle.
Rename serd_reader_set_blank_prefix to serd_reader_add_blank_prefix.
Rename serd_reader_read_file to serd_reader_read_file_handle.
Add new serd_reader_read_file that takes a path/URI parameter.
Add serdi -i option to select input syntax.
Add serdi -p and -c options to add/chop a prefix to/from blank IDs.
Add optional base_uri parameter to serd_env_new.
Add serd_writer_chop_blank_prefix.
Bump version to 0.3.0.
git-svn-id: http://svn.drobilla.net/serd/trunk@183 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-id.out | 2 | ||||
-rw-r--r-- | tests/test-id.ttl | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-id.out b/tests/test-id.out new file mode 100644 index 00000000..722fc6d1 --- /dev/null +++ b/tests/test-id.out @@ -0,0 +1,2 @@ +<http://example.org/base#c> <http://example.org/base#d> _:genid1 . +_:docid1 <http://example.org/base#a> <http://example.org/base#b> . diff --git a/tests/test-id.ttl b/tests/test-id.ttl new file mode 100644 index 00000000..6bc1c37d --- /dev/null +++ b/tests/test-id.ttl @@ -0,0 +1,4 @@ +@prefix : <http://example.org/base#> . + +:c :d [] . +_:genid1 :a :b . |