diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/HTTPEngineSender.cpp | 2 | ||||
-rw-r--r-- | src/client/PluginModel.cpp | 3 |
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) { |