Skip to content

Commit 711fd64

Browse files
mhugentrldhont
authored andcommitted
WMS 1.3.0 compliance: exception format must be advertized as 'XML', not 'text/xml'
1 parent fb4775c commit 711fd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/qgswmsserver.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ QDomDocument QgsWMSServer::getCapabilities( QString version, bool fullProjectInf
476476

477477
//wms:GetCapabilities
478478
elem = doc.createElement( "GetCapabilities"/*wms:GetCapabilities*/ );
479-
appendFormats( doc, elem, QStringList() << ( version == "1.1.1" ? "application/vnd.ogc.wms_xml" : "text/xml" ) );
479+
appendFormats( doc, elem, QStringList() << ( version == "1.1.1" ? "application/vnd.ogc.wms_xml" : "XML" ) );
480480
elem.appendChild( dcpTypeElement );
481481
requestElement.appendChild( elem );
482482

0 commit comments

Comments
 (0)