summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/client/Serializer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/client/Serializer.cpp b/src/libs/client/Serializer.cpp
index be468202..035ff0ba 100644
--- a/src/libs/client/Serializer.cpp
+++ b/src/libs/client/Serializer.cpp
@@ -247,8 +247,10 @@ Serializer::patch_path_to_rdf_id(const Path& path)
return Node(_model->world(), Node::RESOURCE, _base_uri);
} else {
assert(path.length() > _root_object->path().length());
- return Node(_model->world(), Node::RESOURCE,
- _base_uri + string("#") + path.substr(_root_object->path().length() + 1));
+ const Node ret(_model->world(), Node::RESOURCE,
+ _base_uri + string("#") + path.substr(_root_object->path().length()));
+ cerr << "RDF ID: " << path << " -> " << ret.to_string() << endl;
+ return ret;
}
}