Hi,
after a long time I've tried again to run the cite tests for WFS 1.1 and
found an odd issue.

In face of this request:

http://localhost:8080/geoserver/wfs?service=WFS&version=1.1.0&request=DescribeFeatureType&typeName=sf%3AEntit%E9G%E9n%E9rique

I get back this error:

Could not find type: {http://cite.opengeospatial.org/gmlsf}Entit???ique.
Strict WFS protocol conformance is being applied.
Make sure the type name is correctly qualified

Now, looking into it with a debugger I see the three question marks
are actually coming down from the HttpServletRequest itself.
It seems Jetty is having issues properly decoding the url encoded notation

Using online url encoding tools it seems the proper way to encode that
word would be Entit%C3%A9G%C3%A9n%C3%A9rique,
and if I use that in the url I get back the expected response.

To get that encoding it is sufficient to change the
ResponseUtils.urlEncode method to use:
return URLEncoder.encode(value, "UTF-8");
instead of:
return URLEncoder.encode(value, "ISO-8859-1");

But those bits of code have been left unchanged for ages.
So I guess something else is going on.

Anyone know what? :-)

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to