Hi
I try to use a function in filter of a WFS getFeature Request but it doesn't works .
<!-- Performs a get feature. Feel free to play with the Filter elements, -->
<!-- to get different results. No filter will get all features, and you -->
<!-- can do filtering on spatial and non-spatial attributes. See the ogc -->
<!-- filter specification http://www.opengis.org/docs/02-059.pdf for the -->
<!-- the complete syntax and examples. -->
<!--
-->
<wfs:GetFeature service="WFS" version="1.0.0"
outputFormat="GML2"
xmlns:topp="http://www.openplans.org/topp"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
<wfs:Query typeName="topp:states">
<Filter>
<Function name="MAX">
<PropertyName>WORKERS</PropertyName>
</Function>
</Filter>
</wfs:Query>
</wfs:GetFeature>
the max function is in the WFS getcapabilities but i've a null pointer exception as server answer.
I use the example requests of geoserver 1-5-0.
Anybody knows where is the problem?