Permalink
Browse files

Fix problem in parsing POSTed WFS XMLrequest: srsName attribute is on

Query element, not on GetFeature element
  • Loading branch information...
1 parent 39922c9 commit 7ffd4052a6ef19d48e107fa9c3731e518c87ff61 @ejn ejn committed Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapwfs.c
View
@@ -3170,7 +3170,7 @@ int msWFSParseRequest(mapObj *map, cgiRequestObj *request, owsRequestObj *ows_re
while (psQuery && psQuery->pszValue &&
strcasecmp(psQuery->pszValue, "Query") == 0) {
/* get SRS */
- pszValue = CPLGetXMLValue(psGetFeature, "srsName",
+ pszValue = CPLGetXMLValue(psQuery, "srsName",
NULL);
if (pszValue)
wfsparams->pszSrs = msStrdup(pszValue);

0 comments on commit 7ffd405

Please sign in to comment.