[tracker/parser] Sparql: Fix parsing `a'
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/parser] Sparql: Fix parsing `a'
- Date: Fri, 7 Aug 2009 09:07:46 +0000 (UTC)
commit b4b7f7b6ea62f2246118894d927be40a57b84b01
Author: Jürg Billeter <j bitron ch>
Date: Fri Aug 7 11:07:07 2009 +0200
Sparql: Fix parsing `a'
src/libtracker-data/tracker-sparql-query.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index da6851e..8363422 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -856,7 +856,7 @@ public class Tracker.SparqlQuery : Object {
current_predicate = prefix_map.lookup ("") + get_last_string ().substring (1);
} else if (current () == SparqlTokenType.A) {
next ();
- current_predicate = get_last_string ();
+ current_predicate = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type";
} else {
// TODO error
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]