Opened 19 years ago
Closed 15 years ago
#1350 closed defect (fixed)
Cannot query for propertyname using namespace
Reported by: | 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 , 16 years ago
Milestone: | → 5.2 release |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 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?
follow-up: 4 comment:3 by , 16 years ago
Cc: | added |
---|
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
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?