Skip to content
Permalink
Browse files

Remove qgis address from schemaLocation

  • Loading branch information
pblottiere committed Nov 29, 2018
1 parent cdda581 commit ce0d76a51d73af4aa40b43d08e280837dfbc4075
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/server/services/wms/qgswmsgetcapabilities.cpp
@@ -207,7 +207,6 @@ namespace QgsWms
schemaLocation += QLatin1String( " http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd" );
schemaLocation += QLatin1String( " http://www.opengis.net/sld" );
schemaLocation += QLatin1String( " http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd" );
schemaLocation += QLatin1String( " http://www.qgis.org/wms" );
if ( QgsServerProjectUtils::wmsInspireActivate( *project ) )
{
wmsCapabilitiesElement.setAttribute( QStringLiteral( "xmlns:inspire_common" ), QStringLiteral( "http://inspire.ec.europa.eu/schemas/common/1.0" ) );

1 comment on commit ce0d76a

@ShaunForbes

This comment has been minimized.

Copy link

@ShaunForbes ShaunForbes commented on ce0d76a Oct 2, 2019

I belive that this change has caused QGis server to start generating an invalid schemaLocation.
The namespace that was removed was supposed to be linked to the GetSchemaExtension schema URL on line 218/219.
I've opened issue #32085 to report the problem (which I did before I located this as the source of that issue).

Please sign in to comment.
You can’t perform that action at this time.