Use "<And>" instead of "<AND>". The filter parser will just ignore your
tag if it doesnt understand it - and its case sensitive.
Yes, I know thats a bad idea! (I reported this bug earlier)
I'm trying to fix this now - but I think I've found another problem...
Query
feature type: states
filter: [[ STATE_NAME is like *a* ] AND [ STATE_NAME is like *c* ]]
[properties: ALL ]
<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">
<wfs:Query typeName="states" >
<Filter>
<And>
<PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
<PropertyName>STATE_NAME</PropertyName>
<Literal>*a*</Literal>
</PropertyIsLike>
<PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
<PropertyName>STATE_NAME</PropertyName>
<Literal>*c*</Literal>
</PropertyIsLike>
</And>
</Filter>
</wfs:Query>
</wfs:GetFeature>
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/