On Tue, Sep 24, 2013 at 2:21 PM, Niels Charlier <[email protected]> wrote:

>  Hello,
>
> While testing the geoserver csw module, Bart van den Eijnden discovered
> that the ogc 1.1 filter parser does not support matchCase in a
> PropertyIsLike filter. For example this filter:
>
> ogc:Filter xmlns:ogc="http://www.opengis.net/ogc";><ogc:PropertyIsLike
> matchCase="false" wildCard="*" singleChar="."
> escapeChar="!"><ogc:PropertyName>csw:AnyText</ogc:PropertyName><ogc:Literal>*Tasmania*</ogc:Literal></ogc:PropertyIsLike></ogc:Filter>
>
>
> results in:
>
> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; version="1.0.0"
> xsi:schemaLocation="http://www.opengis.net/ows
> http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd";>
>
>    <ows:Exception exceptionCode="NoApplicableCode">
>      <ows:ExceptionText>Could not parse XML request.
>  cvc-complex-type.3.2.2: Attribute 'matchCase' is not allowed to appear
> in element 'ogc:PropertyIsLike'.</ows:ExceptionText>
>    </ows:Exception>
>  </ows:ExceptionReport>
>
>
> Although this should be supported:
> http://schemas.opengis.net/filter/1.1.0/filter.xsd
>
> Apparently the OGC did change its schema a while back to support this, it
> was initially not supported IIRC, but now it is.
> Although there is filter 2.0 now, should we not support this?
>

I don't see a reason not to, besides maybe lack of resources to implement
the functionality itself?
But I'd say, if you have the resources, go for it.

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to