GetFeatureInfo returns text response when the format is not recognize,
shouldn't it return an exception instead?
----------------------------------------------------------------------------------------------------------------
Key: GEOS-1924
URL: http://jira.codehaus.org/browse/GEOS-1924
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 1.6.3
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.6.4
The following request against sample data:
http://geo.openplans.org:8080/geoserver/wms?bbox=-130,24,-66,50&styles=population&format=jpeg&info_format=application/vnd.ogc.se_xml&request=GetFeatureInfo&layers=topp:states&query_layers=topp:states&width=550&height=250&x=170&y=160
returns a text result, but the format "application/vnd.ogc.se_xml" is not
valid, it should be "application/vnd.ogc.gml" instead. Usually OGC services do
report a an exception with the proper code the wrong param in the locator.
Double check the spec and then fix.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel