[OpenLayers-Users] Re: WMSGetFeatureInfo - slow response in IE8 and 9

Andreas Hocevar ahocevar at opengeo.org
Mon Mar 12 04:04:28 EDT 2012


Hi,

the problem is that IE does validate the XML against the DTD, which
other browsers don't. And that DTD seems to be unreachable. A good
solution would be for the server to not specify a doctype (or only
<!DOCTYPE html) for the GetFeatureInfo response. I'm not that familiar
with MapServer, but I'm sure you can configure the GetFeatureInfo
template and get rid of that doctype.

Andreas.

On Sun, Mar 11, 2012 at 1:28 AM, teknocreator <teknocreator at gmail.com> wrote:
> Zac,
>
> - No vector layers, only the raster.  I cut things down to minimum here to
> test.
>
> - Fiddler is indicating a GET for the transitional.dtd from www.w3.org and
> that ends in a 404 error which is where all the time is going.  The response
> from MapServer is a bit over a second and then a bit for the response in the
> popup.
>
> Here is the Request Headers from Fiddler:
>
> GET /TR/html4/transitional.dtd HTTP/1.1
>
> - Looks like WMS request is fired off first but is being held off by this
> 404 error.
>
> When I launch this in Firefox, doesn't even go to www.w3.org.
>
> I'm just using <!DOCTYPE html> at the start of the page and testing in IE8.
> I checked W3 validation and it passes.  It's a pretty simple testing page.
> I don't have IE9 but I'm told from a coworker who does that the same slow
> response it there as well.  I switched to the following just to test, but
> same results occurred:
>
> <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
>    &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:v="urn:schemas-microsoft-com:vml">
> <head>
> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
> <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
> <meta http-equiv="pragma" content="no-cache" />
>
> Ideas on where to go from here?
>
> Dave M
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/WMSGetFeatureInfo-slow-response-in-IE8-and-9-tp4563627p4566328.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list