GeoServer KVP filter parser turns property filter into literal comparisons
--------------------------------------------------------------------------
Key: GEOS-1913
URL: http://jira.codehaus.org/browse/GEOS-1913
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 1.6.3
Reporter: Andrea Aime
Assignee: Andrea Aime
Priority: Blocker
Fix For: 1.6.4
Trying to hit GeoServer with the following GetFeature:
http://localhost:8080/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&propertyName=STATE_NAME,PERSONS&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A//ogc.org%22%20xmlns%3Agml%3D%22http%3A//www.opengis.net/gml%22%3E%3Cogc%3APropertyIsEqualTo%3E%3Cogc%3APropertyName%3ESTATE_NAME%3C/ogc%3APropertyName%3E%3Cogc%3ALiteral%3ENew%20York%3C/ogc%3ALiteral%3E%3C/ogc%3APropertyIsEqualTo%3E%3C/ogc%3AFilter%3E%20
results in the FilterKVPParser successfully using the new XML filter parser,
which in turn generates a IsEqualsTo implementation against two literals,
"STATE_NAME" and "New York", instead of generating an IsEqualsTo between a
property name and a literal.
Doing the same query with a POST request works fine. Wild guess is that the new
parser may need to know the target feature type to properly parse this kind of
filter?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel