Bug report #14685

Missing namespace declaration in the GetFeature request

Added by Juergen Weichand over 8 years ago. Updated about 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Web Services clients/WFS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22649

Description

In the GetFeature request the namespace declaration is missing. This will result in ServiceExceptions on some WFS server. Please add the namespaces parameter. Example

namespaces=xmlns(bvv,http://www.geodaten.bayern.de).

Please also refer to https://github.com/qgis/QGIS/pull/2977#issuecomment-207578177

Associated revisions

Revision 94fa450e
Added by Even Rouault about 7 years ago

[WFS provider] Add NAMESPACES= parameter to GetFeature requests when needed (fixes #14685)

History

#2 Updated by Even Rouault about 8 years ago

  • Status changed from Open to Feedback

I looked at the above links, but couldn't find an example of a server + layer that would require namespace. Do you have one ?

#4 Updated by Giovanni Manghi almost 8 years ago

  • Status changed from Feedback to Open

#5 Updated by Giovanni Manghi over 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#6 Updated by Even Rouault about 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF