summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-16 06:43:14 +0000
committerDavid Robillard <d@drobilla.net>2008-11-16 06:43:14 +0000
commit0bd203374d1bc3bb3f303705b37c7567e1ef673f (patch)
treea75f5317aad865dfec7af5e7128803d02c66988d /src/serialisation
parent18a76e65f5a40c2dd8f01050ab41390b8a74ce01 (diff)
downloadingen-0bd203374d1bc3bb3f303705b37c7567e1ef673f.tar.gz
ingen-0bd203374d1bc3bb3f303705b37c7567e1ef673f.tar.bz2
ingen-0bd203374d1bc3bb3f303705b37c7567e1ef673f.zip
Track connecting over HTTP.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1724 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Parser.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index ec30ff19..ac7332a7 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -94,8 +94,8 @@ Parser::parse_string(
if (object_uri)
cout << "Parsing " << object_uri.get() << " (base " << base_uri << ")" << endl;
- else
- cout << "Parsing all objects found in string (base " << base_uri << ")" << endl;
+ //else
+ // 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) {
@@ -149,15 +149,12 @@ Parser::parse(
const string key = world->rdf_world->prefixes().qualify((*i)["varkey"].to_string());
const Redland::Node& val_node = (*i)["varval"];
- cout << "VALUE: " << val_node.to_string() << endl;
- cout << "TYPE: " << AtomRDF::node_to_atom(val_node).type() << endl;
- cout << "ATOM: " << AtomRDF::node_to_atom(val_node).get_float() << endl;
-
if (key != "")
target->set_variable(obj_path, key, AtomRDF::node_to_atom(val_node));
}
world->rdf_world->mutex().unlock();
+ parse_connections(world, target, model, base_uri, "", "/");
if (object_uri)
query_str = Glib::ustring("SELECT DISTINCT ?class WHERE { <") + object_uri.get() + "> a ?class . }";