I think what you are seeing is the same issue as
https://osgeo-org.atlassian.net/projects/GEOT/issues/GEOT-5920.

Ian

On 19 February 2018 at 21:21, Ryan Schachte <c...@ryan-schachte.com> wrote:

> Hi Ian,
>
> I'm stuck at a crossroads on this issue I've been tackling for over a week
> now. I'm utilizing the filter functions feature of geotools that is
> supported in the filter 2.0 spec. The functions are working great, aside
> from one problem.
>
> This works:
>
> (attName >= replacementFunc() AND title like 'test') AND attName2 = 
> replacementFunc()
>
>
> This doesn't:
>
> (attName >= replacementFunc() AND title like replacementFunc()) AND attName2 
> = replacementFunc()
>
> The problem is that I have a function on the RHS of the "like" statement,
> which is throwing a parsing error. I was analyzing the schema, and this
> should be supported. I threw some manually generated XML into an XML
> verification tool and it passed. Do you have any specific information on
> this in regards to allowing functions on the right hand side of something
> that isn't a binary logical operator?
>
> Thanks a bunch,
>
>
> Ryan Schachte
> P: +1 480.452.8825 <+1+480.452.8825>
> E: c...@ryan-schachte.com
> Ryan-Schachte.com
>
>


-- 
Ian Turton
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to