Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixes post element in WFS GetCapabilities doc
- Loading branch information
Showing
with
4 additions
and
1 deletion.
-
+4
−1
src/server/services/wfs/qgswfsgetcapabilities.cpp
|
@@ -333,9 +333,12 @@ namespace QgsWfs |
|
|
QDomElement getElement = doc.createElement( QStringLiteral( "ows:Get" ) ); |
|
|
getElement.setAttribute( QStringLiteral( "xlink:type" ), QStringLiteral( "xlink:simple" ) ); |
|
|
getElement.setAttribute( QStringLiteral( "xlink:href" ), hrefString ); |
|
|
QDomElement postElement = getElement.cloneNode().toElement(); |
|
|
httpElement.appendChild( getElement ); |
|
|
|
|
|
QDomElement postElement = doc.createElement( QStringLiteral( "ows:Post" ) ); |
|
|
postElement.setAttribute( QStringLiteral( "xlink:href" ), hrefString ); |
|
|
httpElement.appendChild( postElement ); |
|
|
|
|
|
dcpElement.appendChild( httpElement ); |
|
|
operationElement.appendChild( dcpElement ); |
|
|
|
|
|