Skip to content

Commit

Permalink
Remove qgis address from schemaLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Nov 29, 2018
1 parent cdda581 commit ce0d76a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -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" ) );
Expand Down

1 comment on commit ce0d76a

@ShaunForbes
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.