<p>Hi bart,thank you for your answer.<br>
My problem is that when i specify &#39;1.3.0&#39; using WMS constructor openlayers creates a 1.1.x version of the layer (at least that os the version that appears in the getmap and getfeatureinfo requests),so i supposed it was due to that it didn&#39;t pass that &#39;if&#39; condition as 1.3.0 layer. <br>

Best regards,<br>
Xurxo Mendez</p>
<p>El 15 de jul de 2010, 4:53 p.m., &quot;Bart van den Eijnden&quot; &lt;<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>&gt; escribió:<br><br><div style="word-wrap:break-word">Hi,<div><br></div><div>but parseFloat(&quot;1.3.0&quot;) yield 1.3, so what is the problem?</div>
<div><br></div><div>Best regards,</div><div>Bart</div><div><br><div><p><font color="#500050">On Jul 15, 2010, at 4:32 PM, Xurxo Mendez wrote:

</font></p><blockquote type="cite"><p><font color="#500050">&gt; Hi all,
&gt; In OL 2.9.1, I was trying to add a WMS layer to my map, setting its &#39;VERSION&#39; parameter ...</font></p>
_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org" target="_blank">Dev@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
</blockquote></div><br></div></div></p>