[tracker/parser: 4/12] Sparql: Fix parsing `a'
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/parser: 4/12] Sparql: Fix parsing `a'
- Date: Mon, 10 Aug 2009 08:48:18 +0000 (UTC)
commit d0bda232836fc18823d732928890303e3c736a6a
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 39d6100..9afd0b8 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -877,7 +877,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]