projects
/
mp-sparql-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MPSPARQL-17: Accepr bnodes as well as uris
[mp-sparql-moved-to-github.git]
/
src
/
filter_sparql.cpp
diff --git
a/src/filter_sparql.cpp
b/src/filter_sparql.cpp
index
11206a7
..
cef45ef
100644
(file)
--- a/
src/filter_sparql.cpp
+++ b/
src/filter_sparql.cpp
@@
-506,7
+506,9
@@
Z_Records *yf::SPARQL::Session::fetch(
{
if (n->type == XML_ELEMENT_NODE)
{
{
if (n->type == XML_ELEMENT_NODE)
{
- if (!strcmp((const char *) n->name, "uri"))
+ //if (!strcmp((const char *) n->name, "uri"))
+ if (!strcmp((const char *) n->name, "uri") ||
+ !strcmp((const char *) n->name, "bnode") )
{
uri = mp::xml::get_text(n->children);
{
uri = mp::xml::get_text(n->children);