summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-05 19:43:20 +0000
committerDavid Robillard <d@drobilla.net>2010-03-05 19:43:20 +0000
commitd8437709d6f69b4952993a6794313edb38361a53 (patch)
treedcae2a8475c3c8e90b3f8be776f2724aa4f2f400 /src/world.c
parent4a901350fa4e786562a9c8f14446e3fa10678454 (diff)
downloadlilv-d8437709d6f69b4952993a6794313edb38361a53.tar.gz
lilv-d8437709d6f69b4952993a6794313edb38361a53.tar.bz2
lilv-d8437709d6f69b4952993a6794313edb38361a53.zip
Parse all files with correct base URI.
Support relative URIs returned from lv2_descriptor. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2529 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/world.c b/src/world.c
index 35d006f..32ebd31 100644
--- a/src/world.c
+++ b/src/world.c
@@ -182,7 +182,7 @@ slv2_world_free(SLV2World world)
void
slv2_world_load_file(SLV2World world, librdf_uri* file_uri)
{
- librdf_parser_parse_into_model(world->parser, file_uri, NULL, world->model);
+ librdf_parser_parse_into_model(world->parser, file_uri, file_uri, world->model);
}
@@ -203,8 +203,8 @@ slv2_world_load_bundle(SLV2World world, SLV2Value bundle_uri)
librdf_model* manifest_model = librdf_new_model(world->world,
manifest_storage, NULL);
- librdf_parser_parse_into_model(world->parser, manifest_uri, NULL,
- manifest_model);
+ librdf_parser_parse_into_model(world->parser, manifest_uri,
+ manifest_uri, manifest_model);
#ifdef SLV2_DYN_MANIFEST
typedef void* LV2_Dyn_Manifest_Handle;