From: Christian W. <cw...@cw...> - 2007-08-01 15:17:26
|
Luc, > > - The second one was more complicated. When we made a sparql query > > containing a FILTER clause, we got an sql error. It seems that=20 > > objects > > were passed to some methods instead of strings in the > > api/sparql/SparqlEngineDb/FilterGenerator.php file. As we make=20 > > extensive > > use of FILTER in our application, this was quite problematic. =46rom version 5.2.0, PHP implicitely uses toString(), and SparqlEngineDb'S FilterGenerator works without problems. The cases you fixed are only a subset of all places in which toString() would need to be called explicitely. It would make the code really unreadable if all occurences in which the objects are used as string got a toString() added, thus I opt for not doing this but requiring at least php 5.2.0. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |