Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.6.3
-
Fix Version/s: None
-
Component/s: WFS
-
Labels:None
-
Number of attachments :
Description
Trying to hit GeoServer with the following GetFeature:
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?
Issue Links
| This issue is depended upon by: | ||||
| GEOS-1867 | MySQL error processing ogc:Filter with ogc:And clause |
|
|
|
Hum, I found out what makes the new parser break, the ogc namespace is not properly declared:
http://www.opengis.org/ogc
instead of
http://www.opengis.net/ogc
Yet, the result of the parse is a valid filter, making it very hard to properly guess what's wrong in the filter. I'm wondering if we should just start shipping with strict parsing on, and allow for lax parsing as an option.