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 12, 2016
1 parent f1cfd0c commit 8ba3299b987ce0b38b8934255c211293070da833
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 8ba3299

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