Mercurial > hg > svcore
diff rdf/SimpleSPARQLQuery.cpp @ 718:f3fd2988fc9b
Fix incorrect query structure for output type URIs. This led to some output RDF features being written with type URIs intended for different outputs. Also revert some SVDEBUGs to cerrs -- they are intended as user-visible errors or warnings rather than debug
author | Chris Cannam |
---|---|
date | Mon, 09 Jan 2012 16:28:54 +0000 |
parents | 97fbb6b3e749 |
children | e802e550a1f2 |
line wrap: on
line diff
--- a/rdf/SimpleSPARQLQuery.cpp Mon Oct 17 11:57:25 2011 +0100 +++ b/rdf/SimpleSPARQLQuery.cpp Mon Jan 09 16:28:54 2012 +0000 @@ -619,7 +619,7 @@ SimpleSPARQLQuery q(type, query); ResultList results = q.execute(); if (!q.isOK()) { - SVDEBUG << "SimpleSPARQLQuery::singleResultQuery: ERROR: " + cerr << "SimpleSPARQLQuery::singleResultQuery: ERROR: " << q.getErrorString() << endl; return Value(); }