Opened 14 years ago

Closed 14 years ago

#3282 closed defect (fixed)

WFS1.1 should support the acceptversions parameter

Reported by: assefa Owned by: assefa
Priority: normal Milestone: 6.0 release
Component: WFS Server Version: unspecified
Severity: normal Keywords: WFS1.1 acceptversions
Cc: nsavard, tomkralidis

Description

acceptversions parameter for wfs1.1.0 should be supported (as in the SOS). Cite test wfs-1.1.0-Basic-GetCapabilities-tc15.2 is testing this case (and is expecting an exception error)

Change History (8)

comment:1 by assefa, 14 years ago

Cc: nsvard tomkralidis added
Component: MapServer C LibraryWFS Server
Owner: changed from sdlime to assefa

comment:2 by assefa, 14 years ago

Cc: nsavard added; nsvard removed

comment:3 by assefa, 14 years ago

committed in r9972.

This adds a dependency to mapowscommon.c (msOWSCommonNegotiateVersion), thus libxml2 need to be set for building things. Since we are going to move the wfs post parsing using libxml2, we will require anyway libxml for wfs support.

comment:4 by assefa, 14 years ago

Tom,

Do you see any problem for moving msOWSCommonNegotiateVersion into mapows.c since it is not dependent on libxml2?

Someone just complained about this re his build.

In any case, as I mentioned dependency for libxml2 and wfs is coming but until then I would like to do this correction.

Thanks

in reply to:  4 comment:5 by tomkralidis, 14 years ago

Replying to assefa:

Tom,

Do you see any problem for moving msOWSCommonNegotiateVersion into mapows.c since it is not dependent on libxml2?

Someone just complained about this re his build.

In any case, as I mentioned dependency for libxml2 and wfs is coming but until then I would like to do this correction.

Thanks

Doesn't WFS need libxml2 support already (Capabilities XML)?

comment:6 by assefa, 14 years ago

wfs11 is dependent on libxml2 for it to but we can still build wfs without libxml2 set in the configuration and only use wfs1.0.

At this point ./configure --with-ogr --with-proj --with-gdal --with-wfs will give an error. In fact all I want is to put msOWSCommonNegotiateVersion outside the USE_LIBXML2 ifdefs since It does not depend on libxml2 and I can then use it from wfs without introducing for now the dependency.

in reply to:  6 comment:7 by tomkralidis, 14 years ago

Replying to assefa:

wfs11 is dependent on libxml2 for it to but we can still build wfs without libxml2 set in the configuration and only use wfs1.0.

At this point ./configure --with-ogr --with-proj --with-gdal --with-wfs will give an error. In fact all I want is to put msOWSCommonNegotiateVersion outside the USE_LIBXML2 ifdefs since It does not depend on libxml2 and I can then use it from wfs without introducing for now the dependency.

+1 Fair enough. Rename to msOWSNegotiateVersion in mapows.c for now. Let's make sure we fix for SOS too.

comment:8 by assefa, 14 years ago

Resolution: fixed
Status: newclosed

There was already a msOWSNegotiateVersion function in mapows.c (not doing exactly the same thing). I moved the msOWSCommonNegotiateVersion outside the libxml2 ifdefs

Note: See TracTickets for help on using tickets.