Hi all,
 
I've been struggling with de WMSCapabilities (as defined here 
http://trac.openlayers.org/ticket/1176 
<https://webmail.consulting-fujitsu.com/exchweb/bin/redir.asp?URL=http://trac.openlayers.org/ticket/1176>
 ).
Works fine with FF, but not with IE(6).
The "capFormat.read" seems to be the problem (Object required).
Maybe related to XML with IE ...

Is there a workaround ?
 
Thanks a lot
 
---
function handleResult ()
{
    if (oHttpRequest.readyState == 4) // COMPLETED
    {
        if (oHttpRequest.status == 200)
        {
            try
            {
                var xmlFormat = new OpenLayers.Format.XML();
                var xml = xmlFormat.read(oHttpRequest.responseText);
                var cap = capFormat.read(xml);
 
                oTitle=cap.service.title;
                oLayersDispn=cap.capability.layers;
            }
            catch (err)
            {
             ...
            }
        }
        else
            ...
    }
}
 
 
James
 
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to