Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I can execute the following request:

http://My.host:8080/geoserver/wfs?request=GetFeature&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&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

share|improve this question
Solved switch "%" to "%25" –  saknek Jul 17 '12 at 17:03
please enter above comment as your own answer below. It's ok to answer your own questions. –  Vadim Jul 17 '12 at 17:34
Geoist got in there before him ;) –  Rob Quincey Jul 18 '12 at 13:03

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.