File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -179,11 +179,8 @@ QDomDocument QgsWFSServer::getCapabilities()
179
179
// only Get supported for the moment
180
180
QDomElement getElement = doc.createElement ( " Get" /* wfs:Get*/ );
181
181
httpElement.appendChild ( getElement );
182
- QDomElement olResourceElement = doc.createElement ( " OnlineResource" /* wfs:OnlineResource*/ );
183
- olResourceElement.setAttribute ( " xlink:type" , " simple" );
184
182
requestUrl.truncate ( requestUrl.indexOf ( " ?" ) + 1 );
185
- olResourceElement.setAttribute ( " xlink:href" , hrefString );
186
- getElement.appendChild ( olResourceElement );
183
+ getElement.setAttribute ( " OnlineResource" , hrefString );
187
184
188
185
// wfs:DescribeFeatureType
189
186
QDomElement describeFeatureTypeElement = doc.createElement ( " DescribeFeatureType" /* wfs:DescribeFeatureType*/ );
You can’t perform that action at this time.
0 commit comments