[Geoserver-devel] [jira] (GEOS-5776) &strict used for non-XML stuff

Jonathan Moules created BugGEOS-5776
&strict used for non-XML stuff

Issue Type:

BugBug

Affects Versions:

2.3.0

Assignee:

Andrea Aime

Created:

17/Apr/13 4:58 AM

Description:

This may be a documentation thing, or a bug thing.

This page - http://docs.geoserver.org/stable/en/user/services/wfs/vendor.html?highlight=strict - says that the &STRICT parameter is for dealing with invalid XML.

However it also allows invalid URL’s to be parsed too. If this is desired the documentation should be updated. If its not desired then &strict shouldn’t bypass if the request isn’t XML.

(Example - The SLD 1.0 spec says that the “&LAYER” parameter is a “Required” part of the GetLegendRequest (page 62). But removing it works if &strict=false.
i.e.:
http://wppgeog3:8082/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&style=point&strict=false
)

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Jonathan Moules

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)