Skip to content

Commit ce0d76a

Browse files
committedNov 29, 2018
Remove qgis address from schemaLocation
1 parent cdda581 commit ce0d76a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/server/services/wms/qgswmsgetcapabilities.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ namespace QgsWms
207207
schemaLocation += QLatin1String( " http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd" );
208208
schemaLocation += QLatin1String( " http://www.opengis.net/sld" );
209209
schemaLocation += QLatin1String( " http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd" );
210-
schemaLocation += QLatin1String( " http://www.qgis.org/wms" );
211210
if ( QgsServerProjectUtils::wmsInspireActivate( *project ) )
212211
{
213212
wmsCapabilitiesElement.setAttribute( QStringLiteral( "xmlns:inspire_common" ), QStringLiteral( "http://inspire.ec.europa.eu/schemas/common/1.0" ) );

1 commit comments

Comments
 (1)

ShaunForbes commented on Oct 2, 2019

@ShaunForbes

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.