[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:45:45 +0000 (UTC)
commit 0605705e437262f4b0447b559c0ec7a4d2cf58b5
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 590e874..7adc59c 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]