summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-15 23:30:14 +0000
committerDavid Robillard <d@drobilla.net>2011-02-15 23:30:14 +0000
commite58d64653df9b8520f789587b5547fb36bc0788a (patch)
treed2b83f54ddd0e85c5ba347163ffdd32e57e39fde /src/client
parent570f1c791858aa62afa8278f4823719aa22501c5 (diff)
downloadingen-e58d64653df9b8520f789587b5547fb36bc0788a.tar.gz
ingen-e58d64653df9b8520f789587b5547fb36bc0788a.tar.bz2
ingen-e58d64653df9b8520f789587b5547fb36bc0788a.zip
Remove fuzzy lack of distinction between URIs and CURIEs.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2954 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/HTTPEngineSender.cpp2
-rw-r--r--src/client/PluginModel.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/client/HTTPEngineSender.cpp b/src/client/HTTPEngineSender.cpp
index 7f41dca0..cc0d31a0 100644
--- a/src/client/HTTPEngineSender.cpp
+++ b/src/client/HTTPEngineSender.cpp
@@ -125,7 +125,7 @@ HTTPEngineSender::put(const URI& uri,
for (Resource::Properties::const_iterator i = properties.begin(); i != properties.end(); ++i)
model.add_statement(
Redland::Resource(_world, path),
- i->first.str(),
+ AtomRDF::atom_to_node(model, i->first),
AtomRDF::atom_to_node(model, i->second));
const string str = model.serialise_to_string("turtle");
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index 7515e997..08e9dad6 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -100,8 +100,7 @@ PluginModel::get_property(const URI& key) const
#ifdef HAVE_SLV2
if (_slv2_plugin) {
boost::optional<Raul::Atom&> ret;
- SLV2Value lv2_pred = slv2_value_new_uri(_slv2_world,
- _rdf_world->expand_uri(key.str()).c_str());
+ SLV2Value lv2_pred = slv2_value_new_uri(_slv2_world, key.str().c_str());
SLV2Values values = slv2_plugin_get_value(_slv2_plugin, lv2_pred);
slv2_value_free(lv2_pred);
for (unsigned i = 0; i < slv2_values_size(values); ++i) {