Skip to content

Commit 2d36e1a

Browse files
committed
WMS 1.3.0 compliance: exception format must be advertized as 'XML', not 'text/xml'
1 parent 4659fd4 commit 2d36e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/qgswmsserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ QDomDocument QgsWmsServer::getCapabilities( const QString& version, bool fullPro
480480

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

0 commit comments

Comments
 (0)