Ticket #2162 (closed defect: wontfix)

Opened 6 years ago

Last modified 6 years ago

Response to a WMS getcapabilities returns ContactInformation (msautotest)

Reported by: nsavard Owned by: mapserverbugs
Priority: normal Milestone: 5.0 release
Component: WMS Server Version: 5.0
Severity: normal Keywords:
Cc: assefa, tkradilis

Description

When sending a WMS getcapabilities request the default response returns an empty ContactInformation? tag. It didn't return this tag in the previous version of MapServer. I checked and couldn't find any information on this topic. So is it supposed to return this tag?

Change History

Changed 6 years ago by tomkralidis

This is as a result of #2070. An empty ContactInformation element is okay as far as a valid GetCapabilities response.

Changed 6 years ago by dmorissette

  • status changed from new to closed
  • resolution set to wontfix
  • milestone set to 5.0 release

I found that an empty ContactInformation? element was ugly (even if it's valid) and cehcked the source to see if we could fix this easily. It seems that we'll have to live with the ugly empty ContactInformation? element since that's valid for all WMS versions (including 1.3.0) and that keeps the source code simple.

We also have the following note in the source that explains the situation:

  /* contact information is a required element in 1.0.7 but the */
  /* sub-elements such as ContactPersonPrimary, etc. are not! */
  /* In 1.1.0, ContactInformation becomes optional. */

The alternative would result in a more complicated (and ugly) implementation of msOWSPrintContactInfo(), so in the interest of simplicity we'll close this as WONTFIX.

Note: See TracTickets for help on using tickets.