Opened 19 years ago

Closed 19 years ago

#1461 closed defect (fixed)

[WFS Server] assign more approapriate namespace URI and prefix

Reported by: tomkralidis Owned by: assefa
Priority: high Milestone: 4.8 release
Component: WFS Server Version: unspecified
Severity: normal Keywords:
Cc:

Description

For WFS server, if one does not assign the following in the mapfile WEB
object:

wfs_namespace_uri

wfs_namespace_prefix

The following values are assigned as default:

"wfs_namespace_uri" "http://www.ttt.org/myns" (as it happens, http://www.ttt.org
is a website :))

"wfs_namespace_prefix" "myns"

I would like to propose a more indicative and appropriate namespace as the
default if nothing is specified in the mapfile.

"wfs_namespace_uri" "http://mapserver.gis.umn.edu/mapserver"
"wfs_namespace_prefix" "ms"

Affected code would be in mapwfs.c:

$ grep -n myns mapwfs.c
171: * myns namespace is the default.
811:  const char *user_namespace_prefix = "myns";
812:  const char *user_namespace_uri = "http://www.ttt.org/myns";
949:                "           type=\"myns:%sType\" \n"
1035:  const char *user_namespace_prefix = "myns";
1036:  const char *user_namespace_uri = "http://www.ttt.org/myns";

Change History (3)

comment:1 by dmorissette, 19 years ago

Cc: dmorissette@… added
Milestone: 4.8 release
Owner: changed from mapserverbugs to assefa
Assefa, can you please take care of this?

comment:2 by assefa, 19 years ago

Status: newassigned
looking into this

comment:3 by assefa, 19 years ago

Resolution: fixed
Status: assignedclosed
Changed in the CVS head according to bug description.
Note: See TracTickets for help on using tickets.