[mapserver-commits] r7394 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Feb 18 17:19:26 EST 2008
Author: tomkralidis
Date: 2008-02-18 17:19:26 -0500 (Mon, 18 Feb 2008)
New Revision: 7394
Modified:
trunk/mapserver/mapogcsos.c
Log:
s/NoApplicableCode/InvalidRequest/ for invalid XML
Modified: trunk/mapserver/mapogcsos.c
===================================================================
--- trunk/mapserver/mapogcsos.c 2008-02-18 22:17:01 UTC (rev 7393)
+++ trunk/mapserver/mapogcsos.c 2008-02-18 22:19:26 UTC (rev 7394)
@@ -2651,7 +2651,7 @@
doc = xmlParseDoc((xmlChar *)request->postrequest);
if (doc == NULL ) {
msSetError(MS_SOSERR, "Invalid POST request. XML is not well-formed", "msSOSParseRequest()");
- return msSOSException(map, "request", "NoApplicableCode");
+ return msSOSException(map, "request", "InvalidRequest");
}
/* load context */
More information about the mapserver-commits
mailing list