1

I can execute the following request:

http://My.host:8080/geoserver/wfs?request=GetFeature&service=WFS&version=1.1.0&typeName=topp:states&cql_filter=STATE_NAME like 'California'

But I can't execute the following one:

http://My.host:8080/geoserver/wfs?request=GetFeature&service=WFS&version=1.1.0&typeName=topp:states&cql_filter=STATE_NAME like 'C%'

Here goes the error message: XML Parsing Error: no element found Location: .http://My.host:8080/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&cql_filter=STATE_NAME%20like%20%27C%%27 Line Number 1, Column 1:

I think something is wrong when I use % he encode the request and something happens...

GeoServer:V2.1.4 Browser:FireFox SO: Ubunto

3
  • 1
    Solved switch "%" to "%25" Commented Jul 17, 2012 at 17:03
  • 3
    please enter above comment as your own answer below. It's ok to answer your own questions. Commented Jul 17, 2012 at 17:34
  • Geoist got in there before him ;) Commented Jul 18, 2012 at 13:03

1 Answer 1

1

The '%' character should be encoded as '%25' inside a URL.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.