[Tracker] rdfq and encoding
- From: Fabien VALLON <fabien sonappart net>
- To: Tracker List <tracker-list gnome org>
- Subject: [Tracker] rdfq and encoding
- Date: Tue, 19 Sep 2006 14:41:08 +0200
Hi,
It seems that there is problem with encoding when I query a
<rdfq:Condition>
 <rdfq:and>
 <rdfq:inSet>
   <rdfq:Property name="File.Format" />
   <rdf:String>audio/wav,audio/x-vorbis+ogg,audio/x-mp3</rdf:String>
 </rdfq:inSet>
 <rdfq:inSet>
   <rdfq:Property name="Audio.Album" />
   <rdf:String>Porgy and Bess</rdf:String>
 </rdfq:inSet>
 </rdfq:and>
</rdfq:Condition>
works  but
<rdfq:Condition>
 <rdfq:and>
 <rdfq:inSet>
   <rdfq:Property name="File.Format" />
   <rdf:String>audio/wav,audio/x-vorbis+ogg,audio/x-mp3</rdf:String>
 </rdfq:inSet>
 <rdfq:inSet>
   <rdfq:Property name="Audio.Album" />
   <rdf:String>Albert Collins & Barrelhouse Live</rdf:String>
 </rdfq:inSet>
 </rdfq:and>
</rdfq:Condition>
complains about :
Error in rdf query parse: Error on line 9: Character ' ' is not valid at 
the start of an entity name; the & character begins an entity; if this 
ampersand isn't supposed to be an entity, escape it as &
Should the trackerd rdfq parser do the job right ?
      Fabien
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]