Skip to content
Permalink
Browse files

WMS 1.3.0 compliance: exception format must be advertized as 'XML', n…

…ot 'text/xml'
  • Loading branch information
mhugent committed Nov 29, 2016
1 parent 4659fd4 commit 2d36e1a3513f97bfcd88b3b25da48be905cf294e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgswmsserver.cpp
@@ -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 );

0 comments on commit 2d36e1a

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