WMS Capabilities parsing error

Description

WMS Capabilities parsing fails causing WebMapServer to lock up when parsing the following capabilities doc:

http://emandev.cciw.ca/cgi-bin/mapserver/mapserv.exe?REQUEST=GetCapabilities&MAP=C:/Inetpub/wwwroot/emanco/cgi-bin/mapserver/naturewatch.map&VERSION=1.1.1&SERVICE=WMS - http://emandev.cciw.ca/cgi-bin/mapserver/mapserv.exe?REQUEST=GetCapabilities&MAP=C:/Inetpub/wwwroot/emanco/cgi-bin/mapserver/naturewatch.map&VERSION=1.1.1&SERVICE=WMS

Error message from log:

INFO: END: KeywordList
Dec 19, 2004 4:50:32 PM org.geotools.xml.XMLSAXHandler fatalError
SEVERE: FATAL The entity name must immediately follow the '&' in the entity reference.
Dec 19, 2004 4:50:32 PM org.geotools.xml.XMLSAXHandler fatalError
SEVERE: col 191, line 26

Admitedly, the server is generating incorrect xml, HOWEVER, geotools parsing should be able to recognize this and handle it much more gracefully. Especailly on an optional, relatively unneccessary element.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:04 PM

CodeHaus Comment From: emperorkefka - Time: Sat, 19 Mar 2005 20:21:55 -0600
---------------------
Testing it out now, the capabilities parse and I am getting proper data back. Not sure if it was just the server that was fixed or it was the GeoTools code though.

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

High
Configure