[mapserver-commits] r7158 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Dec 7 15:33:53 EST 2007
Author: tomkralidis
Date: 2007-12-07 15:33:52 -0500 (Fri, 07 Dec 2007)
New Revision: 7158
Modified:
trunk/mapserver/mapowscommon.c
Log:
remove unused variable
Modified: trunk/mapserver/mapowscommon.c
===================================================================
--- trunk/mapserver/mapowscommon.c 2007-12-07 20:33:09 UTC (rev 7157)
+++ trunk/mapserver/mapowscommon.c 2007-12-07 20:33:52 UTC (rev 7158)
@@ -421,21 +421,14 @@
char *xsi_schemaLocation = NULL;
xmlNsPtr psNsXsi = NULL;
- xmlNsPtr psNsOws = NULL;
xmlNodePtr psRootNode = NULL;
xmlNodePtr psMainNode = NULL;
xmlNodePtr psNode = NULL;
- //psNsOws = xmlNewNs(psRootNode, BAD_CAST MS_OWSCOMMON_OWS_NAMESPACE_URI, BAD_CAST MS_OWSCOMMON_OWS_NAMESPACE_PREFIX);
- //psNsOws = xmlNewNs(psRootNode, BAD_CAST "http://www.opengis.net/ows", BAD_CAST "ows");
-
- //psRootNode = xmlNewNode(psNsOws, BAD_CAST "ExceptionReport");
psRootNode = xmlNewNode(NULL, BAD_CAST "ExceptionReport");
psNsXsi = xmlNewNs(psRootNode, BAD_CAST MS_OWSCOMMON_W3C_XSI_NAMESPACE_URI, BAD_CAST MS_OWSCOMMON_W3C_XSI_NAMESPACE_PREFIX);
- //xmlSetNs(psRootNode, psNsOws);
-
/* add attributes to root element */
xmlNewProp(psRootNode, BAD_CAST "version", BAD_CAST version);
@@ -466,7 +459,6 @@
}
free(xsi_schemaLocation);
- //xmlFreeNs(psNsOws);
return psRootNode;
}
More information about the mapserver-commits
mailing list