Opened 16 years ago
Closed 14 years ago
#2432 closed defect (fixed)
namespace needs to be strip off of a feature name when serving a WFS GetFeature request
Reported by: | nsavard | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | normal | Milestone: | 5.6 release |
Component: | WFS Server | Version: | 5.0 |
Severity: | normal | Keywords: | OGC, Cite, TEAM, WFS 1.0.0 |
Cc: | tomkralidis |
Description
When a GetFeature request is made with a feature name prefixed by a namespace, the WFS server serving this request does not strip off the namespace. The server returns the following exception:
<ServiceExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opengis.net/ogc" version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd">
prepare_database(): Query error. Error executing POSTGIS DECLARE (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(pointproperty)),'NDR'),pkey::text from other WHERE (cdf:integers>= 7) and (pointproperty && setSRID( 'BOX3D(500000 500000,500100 500100)'::BOX3D,32615) )'
Postgresql reports the error as 'ERROR: syntax error at or near ":" at character 133
Attachments (1)
Change History (6)
comment:1 by , 16 years ago
Keywords: | OGC Cite TEAM WFS 1.0.0 added |
---|
follow-up: 3 comment:2 by , 16 years ago
Cc: | added |
---|
comment:3 by , 16 years ago
Replying to tomkralidis:
Norm: can you post a test case (mapfile+testdata). I can take a look. What does the GetFeature request look like?
Tom,
Here is an example of a request:
comment:4 by , 15 years ago
Milestone: | → 5.6 release |
---|
OGC filters are now stripped of all name spaces #1350.
This should be closed.
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing as per Assefa's comment.
Norm: can you post a test case (mapfile+testdata). I can take a look. What does the GetFeature request look like?