Skip to content

Commit

Permalink
WMS 1.3.0 compliance: exception format must be advertized as 'XML', n…
Browse files Browse the repository at this point in the history
…ot 'text/xml'
  • Loading branch information
mhugent committed Nov 29, 2016
1 parent 4659fd4 commit 2d36e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgswmsserver.cpp
Expand Up @@ -480,7 +480,7 @@ QDomDocument QgsWmsServer::getCapabilities( const QString& version, bool fullPro

//wms:GetCapabilities
elem = doc.createElement( QStringLiteral( "GetCapabilities" )/*wms:GetCapabilities*/ );
appendFormats( doc, elem, QStringList() << ( version == QLatin1String( "1.1.1" ) ? "application/vnd.ogc.wms_xml" : "text/xml" ) );
appendFormats( doc, elem, QStringList() << ( version == QLatin1String( "1.1.1" ) ? "application/vnd.ogc.wms_xml" : "XML" ) );
elem.appendChild( dcpTypeElement );
requestElement.appendChild( elem );

Expand Down

0 comments on commit 2d36e1a

Please sign in to comment.