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 , 14 years ago
Cc: | added |
---|---|
Component: | MapServer C Library → WFS Server |
Owner: | changed from | to
comment:2 by , 14 years ago
Cc: | added; removed |
---|
comment:3 by , 14 years ago
follow-up: 5 comment:4 by , 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
comment:5 by , 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)?
follow-up: 7 comment:6 by , 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.
comment:7 by , 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 , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
There was already a msOWSNegotiateVersion function in mapows.c (not doing exactly the same thing). I moved the msOWSCommonNegotiateVersion outside the libxml2 ifdefs
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.