<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sure, here you are:<div><br></div><div>1.0.0 (working) request:</div><div><br></div><div>WFS post request: <wfs:GetFeature xmlns:wfs="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>" service="WFS" version="1.0.0" maxFeatures="100" xsi:schemaLocation="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd">http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"><wfs:Query typeName="ms:katastar_vodnjan_poligon" xmlns:ms="<a href="http://gis.kermas-istra.com">http://gis.kermas-istra.com</a>"><ogc:Filter xmlns:ogc="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"><ogc:PropertyIsLike wildCard="*" singleChar="." escape="!"><ogc:PropertyName>NUMBER</ogc:PropertyName><ogc:Literal>19/1</ogc:Literal></ogc:PropertyIsLike></ogc:Filter></wfs:Query></wfs:GetFeature></div><div><br></div><div><div>1.1.0 (non-working) request:</div><div><br></div><div>WFS post request: <wfs:GetFeature xmlns:wfs="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>" service="WFS" version="1.1.0" maxFeatures="100" xsi:schemaLocation="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"><wfs:Query typeName="ms:katastar_vodnjan_poligon" srsName="EPSG:900913" xmlns:ms="<a href="http://gis.kermas-istra.com">http://gis.kermas-istra.com</a>"><ogc:Filter xmlns:ogc="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"><ogc:PropertyIsLike wildCard="*" singleChar="." escapeChar="!"><ogc:PropertyName>NUMBER</ogc:PropertyName><ogc:Literal>19/1</ogc:Literal></ogc:PropertyIsLike></ogc:Filter></wfs:Query></wfs:GetFeature></div></div><div><br></div><div>thanks, dejan</div><div><br><div><div>On 19. vel. 2014., at 08:57, Martin Kofahl wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>Hi Dejan,<br></div>can you please post the get or post request made by openlayers for both, version 1.1.0 and 1.0.0?<br><br></div>Martin<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-02-18 11:37 GMT+01:00 Dejan Gambin <span dir="ltr"><<a href="mailto:dejan.gambin@coin.hr" target="_blank">dejan.gambin@coin.hr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have been using MapServer 6.0.3 for a while. My client application worked well with WFS 1.1.0 protocol. Here is the part of the code:<br>
<br>
var protocol = new OpenLayers.Protocol.WFS({<br>
                    version: "1.0.0",<br>
                    url:  self.options.config.wfs_url + "SERVICE=WFS&srsName=EPSG:900913",<br>
                    srsName:"EPSG:900913",<br>
                    featureNS: self.options.config.wfs_ns,<br>
                    geometryName: "msGeometry",<br>
                    featurePrefix: "ms",<br>
                    featureType: some_layer,<br>
                    defaultFilter: new OpenLayers.Filter.Comparison({<br>
                        type: OpenLayers.Filter.Comparison.LIKE,<br>
                        property: some_property<br>
                        value: some_value<br>
                    })<br>
                })<br>
<br>
Recently I went to MapServer 6.4.1 and I started to get "no results" when using this code to search by attributes. I changed version 1.1.0 to 1.0.0 and everything works fine now.<br>
<br>
Does anyone know what is the reason for this and should I stay on 1.0.0?<br>
<br>
Notes - when doing spatial query it works ok even with 1.1.0.<br>
<br>
Thanks!<br>
<br>
dejan<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br></div>
_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/mapserver-users</blockquote></div><br></div></body></html>