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">

<ServiceException>

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&gt;= 7) and (pointproperty &amp;&amp; setSRID( 'BOX3D(500000 500000,500100 500100)'::BOX3D,32615) )'

Postgresql reports the error as 'ERROR: syntax error at or near ":" at character 133

Attachments (1)

wfs-1.0.0.zip (145.3 KB ) - added by nsavard 16 years ago.
map file and data to run the wfs 1.0.0 against

Download all attachments as: .zip

Change History (6)

comment:1 by nsavard, 16 years ago

Keywords: OGC Cite TEAM WFS 1.0.0 added

comment:2 by tomkralidis, 16 years ago

Cc: tomkralidis added

Norm: can you post a test case (mapfile+testdata). I can take a look. What does the GetFeature request look like?

by nsavard, 16 years ago

Attachment: wfs-1.0.0.zip added

map file and data to run the wfs 1.0.0 against

comment:4 by assefa, 15 years ago

Milestone: 5.6 release

OGC filters are now stripped of all name spaces #1350.

This should be closed.

comment:5 by dmorissette, 14 years ago

Resolution: fixed
Status: newclosed

Closing as per Assefa's comment.

Note: See TracTickets for help on using tickets.