From: Chris B. <ch...@bi...> - 2007-08-01 14:34:26
|
Hi Luc and Christian, Luc: Thanks a lot for reporting this bug and for providing a patch to it. Bug reports including a patche are clearly the best and always highly welcome! Christian Weiske implemented the new SPARQL engine and I have therefore cc'ed him to this mail. Christian: Would it be possible that you have a look at Luc's patch and include it into the SVN version of RAP, if it solves the problem properly. Thanks a lot. Cheers Chris ----- Original Message ----- From: <luc...@tu...> To: <ch...@bi...> Cc: <ala...@tu...>; <jea...@tu...> Sent: Wednesday, August 01, 2007 3:44 PM Subject: Fw: sparql bugs in rap 0.9.5 > Dear Chris, > > we have found two bugs in the sparql part of the latest release of > your > RAP library (0.9.5) : > > - The first one is that there are some trailing new lines at the end > of > the api/model/ModelFactory.php file. This can conflict with php > applications which use header() for example. > - The second one was more complicated. When we made a sparql query > containing a FILTER clause, we got an sql error. It seems that > objects > were passed to some methods instead of strings in the > api/sparql/SparqlEngineDb/FilterGenerator.php file. As we make > extensive > use of FILTER in our application, this was quite problematic. > > Please find attached a patch containing our fixes to these two bugs. > > Thanks for your great job on this library. > > Best Regards, > > Luc Dehand > > |