Hi, I'm trying this request
" http://127.0.0.1:80/geoserver/wms?SERVICE=WFS&VERSION=1.0.0&REQUEST=getFeature&TYPENAME=strade&Filter= <Filter><AND> <PropertyIsLike wildCard="*" singleChar="." escape="!" matchCase="false" > <PropertyName>ETICHETTA</PropertyName> <Literal>via passo</Literal> </PropertyIsLike> <PropertyIsLike wildCard="*" singleChar="." escape="!" matchCase="false" > <PropertyName>VERSO</PropertyName> <Literal>1</Literal> </PropertyIsLike> </AND></Filter>" the server responds with this exception: <ServiceException code="XML getFeature request SAX parsing error" locator= "org.vfny.geoserver.util.requests.readers.XmlRequestReader"> org.xml.sax.SAXException: Attempted to construct illegal filter - I dont understand the tag: AND. HINT: tags are case-sensitive! Attempted to construct illegal filter - I dont understand the tag: AND. HINT: tags are case-sensitive! Details: org.geoserver.platform.ServiceException: org.xml.sax.SAXException: Attempted to construct illegal filter - I dont understand the tag: AND. HINT: tags are case-sensitive! at org.geoserver.wfs.kvp.FilterKvpParser.parseXMLFilterWithOldParser(FilterKvpParser.java:137) at org.geoserver.wfs.kvp.FilterKvpParser.parse(FilterKvpParser.java:89) at org.geoserver.ows.util.KvpUtils.parse(KvpUtils.java:430) at org.geoserver.ows.Dispatcher.parseKVP(Dispatcher.java:1125) at org.geoserver.ows.Dispatcher.init(Dispatcher.java:262) then I tried the same request just changing WFS&VERSION=1.0.0 to WFS&VERSION=1.1.0 Response now contains the features as expected but I can't parse it, var features = new OpenLayers.Format.GML.v3().read(response.responseText); features is built with 0 elements. any idea Thanks a lot - Antonio
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
