Permalink
Browse files

use ows_schemas_location for sld_capabilities ref (#4624)

  • Loading branch information...
1 parent d818868 commit ccf26b948b726f6f68bfd0e82753613dba1e990c Tom Kralidis committed with tbonfort Apr 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 mapwms.c
View
@@ -2824,8 +2824,8 @@ int msWMSGetCapabilities(mapObj *map, int nVersion, cgiRequestObj *req, owsReque
}
msIO_printf(" xsi:schemaLocation=\"http://www.opengis.net/wms %s/wms/%s/capabilities_1_3_0.xsd "
- " http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd ",
- msOWSGetSchemasLocation(map), msOWSGetVersionString(nVersion, szVersionBuf));
+ " http://www.opengis.net/sld %s/sld/1.1.0/sld_capabilities.xsd ",
+ msOWSGetSchemasLocation(map), msOWSGetVersionString(nVersion, szVersionBuf), msOWSGetSchemasLocation(map));
if ( msOWSLookupMetadata(&(map->web.metadata), "MO", "inspire_capabilities") ) {
msIO_printf(" http://inspire.ec.europa.eu/schemas/inspire_vs/1.0 "

0 comments on commit ccf26b9

Please sign in to comment.