Opened 19 years ago

Closed 15 years ago

#1350 closed defect (fixed)

Cannot query for propertyname using namespace

Reported by: bartvde@… Owned by: assefa
Priority: high Milestone: 5.6 release
Component: WFS Server Version: 4.4
Severity: normal Keywords:
Cc: tomkralidis

Description

I have defined a namespace for my WFS server:

     wfs_namespace_prefix "stragisweb"
     wfs_namespace_uri "http://www.syncera.nl/stragisweb";

When using a propertyname like stragisweb:MYCOLUMN it does not get interpreted
by Masperver. MYCOLUMN does work though.

Change History (4)

comment:1 by assefa, 16 years ago

Milestone: 5.2 release
Owner: changed from mapserverbugs to assefa
Status: newassigned

We should probably strip all names spaces from the xml. We currently stip gml: and ogc: and I see no side effects if we strip all names spaces. Any objections to this?

comment:2 by tomkralidis, 16 years ago

If we strip namespaces, and the WFS server defines a namespace, when a WFS client makes a query with no namespace, do we throw an exception?

comment:3 by tomkralidis, 16 years ago

Cc: tomkralidis added

in reply to:  3 comment:4 by assefa, 15 years ago

Resolution: fixed
Status: assignedclosed

strip all name spaces (r9452) I am not sure if we throw an exception in the case described in comment #3. I believe that the correct way would be to completely validate the xml (using possible an xml spy for example) and trap all errors. We avoided until now a a validation by using a light weight xml parser but this could be something to consider.

Note: See TracTickets for help on using tickets.