summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/serialisation/Parser.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index e11de4e5..02644d58 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -123,11 +123,10 @@ Parser::parse_string(
// cout << "Parsing all objects found in string (base " << base_uri << ")" << endl;
bool ret = parse(world, target, model, base_uri, engine_base, object_uri, symbol, data);
- if (ret) {
- const Glib::ustring subject = Glib::ustring("<") + base_uri + Glib::ustring(">");
- parse_connections(world, target, model, base_uri, subject,
- Path((engine_base == "") ? "/" : engine_base));
- }
+ const Glib::ustring subject = Glib::ustring("<") + base_uri + Glib::ustring(">");
+ //const Glib::ustring subject("<>");
+ parse_connections(world, target, model, base_uri, subject,
+ Path((engine_base == "") ? "/" : engine_base));
return ret;
}
@@ -273,7 +272,7 @@ Parser::parse(
|| (rdf_class == node_class)
|| (rdf_class == in_port_class)
|| (rdf_class == out_port_class);
-
+
if (is_object) {
Raul::Path path(path_str == "" ? "/" : path_str);