Hi Christian, Hi all,
Following on from the ORDER BY dateTime issue, the same issue occurs
when trying to ORDER BY decimal:
Fatal error: Uncaught exception 'Exception' with message 'Unsupported
cast type in order by: http://www.w3.org/2001/XMLSchema#decimal' in
C:\htdocs\hoonoh\rdfapi-php\api\sparql\SparqlEngineDb\TypeSorter.php:398
Stack trace: #0
C:\htdocs\hoonoh\rdfapi-php\api\sparql\SparqlEngineDb\TypeSorter.php(374):
SparqlEngineDb_TypeSorter::getCastMethod('http://www.w3.o...',
't2.object') #1
...
Firstly, is this something that can be fixed relatively quickly?
Secondly, is there a definitive list anywhere of the datatypes which
are supported for ORDER BY in RAP0.9.5, as it would be good to be able
to check such a list when deciding which version of RAP to use in a
deployment.
Cheers,
Tom.
On 19/06/07, Christian Weiske <cw...@cw...> wrote:
> Tom,
>
>
> > > > great. However, I've hit a problem, and I don't know if it's a
> > > > bug or me just being stupid. Any help much appreciated.
> > > > ORDER BY DESC(?createdOn)
> > > > Fatal error: Uncaught exception 'Exception' with message
> > > > 'Unsupported cast type in order by:
> > > > http://www.w3.org/2001/XMLSchema#dateTime' in
> > >
> > > This is a missing feature. I'll fix it next week.
> >
> > Brilliant, thanks Christian, look forward to it :)
>
> Fixed in svn. The only file you need to update is api/sparql/SparqlEngine=
Db/TypeSorter.php
>
> --
> Mit freundlichen Gr=FC=DFen/Regards,
> Christian Weiske
>
|