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 authored and rldhont committed Dec 13, 2016
1 parent fb4775c commit 711fd64f24b1a485ef2521e722d0247799025f98
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgswmsserver.cpp
@@ -476,7 +476,7 @@ QDomDocument QgsWMSServer::getCapabilities( QString version, bool fullProjectInf

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

0 comments on commit 711fd64

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