New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WFS] MapServer doesn't add namespace definition in its GetFeature request #4467
Conversation
Here is my branch. I will do more test with MapServer (today) and ArcGIS (next week) WFS Services. https://github.com/yjacolin/mapserver/compare/namespaceWFSClient There is just one issue I don't know how to manage: See https://github.com/yjacolin/mapserver/blob/master/mapwfslayer.c#L149 Using ogc namespace imply to add xml namespace at the first element but this is not the case at this line. We can add it and change MS' behaviour or not. Any idea? |
|
|
@yjacolin, can you merge the updated branch-6-2 into this branch so this can be tested. thanks |
AFAIK the schemaLocation should point to http://schemas.opengis.net/wfs/1.0.0/wfs.xsd, the all-components as mandated by OGC. |
@yjacolin are you able to validate/fix this very quickly (i.e. today) as we are releasing beta4. If not, I'll remilestone this for 6.2.1 |
Le 27/09/2012 10:26, Thomas Bonfort a écrit :
I guess it is too late now to do a PR? Y. |
rebased/squashed/applied in 1903b7a |
Namespace should be added in each GetFeature request sent by MapServer with GET and POST method. ArcGIS and GeoServer need them and xml should only validate with them.
Here is a wrong POST request sent by MS:
Here is a good POST request :
A PR will be sent later. More testing are needed with MapServer and ArcGIS (next week) WFS services.