Opened 14 years ago
Last modified 14 years ago
#3362 new defect
A getfeature query with an incorrect namespace should trigger an exception
Reported by: | nsavard | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | WFS Server | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | wfs1.1 getfeature exception namespace |
Cc: | assefa, tomkralidis |
Description
Incorrect namespace appearing in a getfeature query should trigger a "MissingParameterValue" exception.
Namespace associated to 'query' below is incorrect.
Method: post URL: http://gw.mapgears.com:8500/cgi-bin/mswfs110_ogc_cite? Body: <wfs:GetFeature xmlns="http://www.occamlab.com/ctl" xmlns:ctl="http://www.occamlab.com/ctl" xmlns:gml="http://www.opengis.net/gml" xmlns:myparsers="http://teamengine.sourceforge.net/parsers" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:p="http://teamengine.sourceforge.net/parsers" xmlns:parsers="http://www.occamlab.com/te/parsers" xmlns:saxon="http://saxon.sf.net/" xmlns:sf="http://cite.opengeospatial.org/gmlsf" xmlns:te="http://www.occamlab.com/te" xmlns:tec="java:com.occamlab.te.TECore" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" service="WFS" version="1.1.0"> <sf:Query srsName="urn:x-ogc:def:crs:EPSG:4326" typeName="sf:PrimitiveGeoFeature"/> </wfs:GetFeature>
Note:
See TracTickets
for help on using tickets.
Post request: wfs-1.1.0-Basic-GetFeature-tc16.3