FILTER logic operator

Description

here is the req xml

<!-- Performs a between filter. Doesn't appear to be working, not sure why. -->
<!-- TODO: debug this and add a maxFeature -->
<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:gml="http://www.opengis.net/gml"
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 - http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
<wfs:Query typeName="states" >
<Filter>
<AND>
<PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
<PropertyName>STATE_NAME</PropertyName>
&lt;Literal&gt;<b>a</b>&lt;/Literal&gt;
&lt;/PropertyIsLike&gt;
&lt;PropertyIsLike wildCard="*" singleChar="#" escapeChar="!"&gt;
&lt;PropertyName&gt;STATE_NAME&lt;/PropertyName&gt;
&lt;Literal&gt;<b>c</b>&lt;/Literal&gt;
&lt;/PropertyIsLike&gt;
&lt;/AND&gt;
&lt;/Filter&gt;
&lt;/wfs:Query&gt;
&lt;/wfs:GetFeature&gt;
it dosent work

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: dblasby - Time: Fri, 1 Apr 2005 17:53:28 -0600
---------------------
<p>I tried this on the Geoserver 1.3.0-beta2 version and this query works fine for me.</p>

<p>You didnt say which version of geoserver you were using - I expect you were using a 1.2.x version. Why dont you check out the 1.3 version?</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: dblasby - Time: Tue, 17 May 2005 17:05:18 -0500
---------------------
<p>this was a case problem - dont use "AND" - use "And". The parser will now warn you</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: aaime - Time: Thu, 29 Mar 2007 02:06:10 -0500
---------------------
<p>These issue has been in resolved state for at least one month (quite a bit, a lot more than one month). Batch transitioning them to closed state</p>

Fixed

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

None

Priority

Medium
Configure