Hi Alexandre,

if you can create a ticket with this patch and set it to Review, I'd
be willing to commit this since it does not break any unit tests. It
would be good if you could add a test in your patch to show the
problem.

Thanks!
Andreas.

On Wed, Mar 4, 2009 at 2:13 PM, Alexandre Dube <[email protected]> wrote:
> We found out what was not working for us.  I've prepared a patch that solved
> the problem.
>
> Could anyone confirm that there is a bug in the original version, please ?
>
>  Kind regards,
>
> Alexandre
>
> Alexandre Dube wrote:
>>
>> Hi users,
>>
>>  I'm having a hard time using the WMSGetFeatureInfo format.
>>
>>  Instead of explaining, below's snippet (1).  Because I currently can't
>> have a response from my server since I have problems with HTTPS and proxy, I
>> load a xml (see attached) instead ( it's a msGMLOutput XML from MapServer ).
>>
>>  I get an empty features array.  Any clue what I'm doing wrong ?
>>
>> (1) /*---------snippet---------*/
>>   showResult: function(response){
>>       var oFeatures;
>>       var oFormat = new OpenLayers.Format.WMSGetFeatureInfo();
>>       if(!response){
>>           var xmlDoc=document.implementation.createDocument("","",null);
>>           xmlDoc.async="false";
>>           xmlDoc.load("response.xml");
>>           oFeatures = oFormat.read_msGMLOutput(xmlDoc);
>>       } else {
>>           oFeatures = oFormat.read_msGMLOutput(response.responseXML ||
>>                                                response.responseText);
>>       }
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://openlayers.org/mailman/listinfo/users
>
>
> --
> Alexandre Dubé
> Mapgears
> www.mapgears.com
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to