Skip to content
Permalink
Browse files
add xsd schema to validate mapserver capabilities (might fix #10489)
  • Loading branch information
jef-n committed Jun 7, 2014
1 parent 0787294 commit b3a708fba6cbd7af8c28ca1e46e48a053aef5afe
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mapserver/qgswmsserver.cpp
@@ -318,7 +318,7 @@ QDomDocument QgsWMSServer::getCapabilities( QString version, bool fullProjectInf
wmsCapabilitiesElement = doc.createElement( "WMS_Capabilities"/*wms:WMS_Capabilities*/ );
wmsCapabilitiesElement.setAttribute( "xmlns", "http://www.opengis.net/wms" );
wmsCapabilitiesElement.setAttribute( "xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance" );
wmsCapabilitiesElement.setAttribute( "xsi:schemaLocation", "http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd" );
wmsCapabilitiesElement.setAttribute( "xsi:schemaLocation", "http://www.opengis.net/wms http://qgis.org/wms_1_3_0.xsd" );
}
wmsCapabilitiesElement.setAttribute( "version", version );
doc.appendChild( wmsCapabilitiesElement );

0 comments on commit b3a708f

Please sign in to comment.