Opened 17 years ago
Closed 17 years ago
#2070 closed defect (fixed)
[WMS Server] ContactInformation not well-formed when some metadata missing
Reported by: | tomkralidis | Owned by: | tomkralidis |
---|---|---|---|
Priority: | high | Milestone: | 5.0 release |
Component: | WMS Server | Version: | 4.10 |
Severity: | major | Keywords: | |
Cc: |
Description
(from mapserver-users, 20 April 2007)
Yves Jacolin wrote:
Hi,
Somebody in a french forum got an error with mapserver. I tested it with mapserv 4.10.1. The problem come from this line in the mapfile : "wms_contactelectronicmailaddress" "email@…"
the GetCapabilities, send this : <Service>
.. <ContactInformation>
<ContactElectronicMailAddress>email@…</ContactElectronicMailAddress> </Service>
As you can see, the </ContactInformation> closed tag does not appear. Is it a known bug ?
Yves,
It looks like this is still a bug in the dev version as well. Reading the code I believe you can work around this problem by supplying either the "contactperson" or "contactorganization" metadata as well which causes a slightly different code path to be used. I imagine this is why this hasn't already been commented on.
Please file a bug on this I'm sure Assefa, Tom or someone will fix the code.
Change History (2)
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed. Cleaned up mapows.c/msOWSPrintContactInfo to be more simple.