Skip to content
Permalink
Browse files
WMS 1.3.0 compliance: use the reserved word 'None' if no fees
  • Loading branch information
mhugent committed Nov 29, 2016
1 parent fe8dfe1 commit df411eb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -586,7 +586,7 @@ void QgsServerProjectParser::serviceCapabilities( QDomElement& parentElement, QD
//Fees
QDomElement feesElem = propertiesElement.firstChildElement( QStringLiteral( "WMSFees" ) );
QDomElement wmsFeesElem = doc.createElement( QStringLiteral( "Fees" ) );
QDomText wmsFeesText = doc.createTextNode( QStringLiteral( "conditions unknown" ) ); // default value if access conditions are unknown
QDomText wmsFeesText = doc.createTextNode( QStringLiteral( "None" ) ); // default value if access conditions are unknown
if ( !feesElem.isNull() && !feesElem.text().isEmpty() )
{
wmsFeesText = doc.createTextNode( feesElem.text() );

0 comments on commit df411eb

Please sign in to comment.