hello <br>i 'am trying to use OpenLayers with WFS layer.<br><br>if i understand the exemple on dev.OpenLayers there is two way for displaying a wfs layer : <br><br>var wfs = new OpenLayers.Layer.WFS("LayerName",
<br> "<a href="http://URL/WFS" target="_blank">http://URL/WFS</a>?",
<br> {typename: "WFSname"},
<br> {extractAttributes: true}
<br> );
<br> <br> Or<br><br>var wfgnosis = new OpenLayers.Layer.WFS("LayerName",
<br> "<a href="http://URL/WFS" target="_blank">http://URL/WFS</a>?",
<br> {typename: "WFSname"},
<br> {extractAttributes: true}
<br> );<br><br>But Only the first, works on my own .... :( <br>in firebug i saw error on the request about no element found like if the request send nothing ... <br>i wonder if it is not a time out for request or a delay answer because <br>
if i copy and paste the request in a browser i receive the features i request <br>for the layer who work i receive data in 6.3 s ( 200 OK 6.39s) <br>for the other one the game is playing in <a href="http://33.ms" target="_blank">33.ms</a> (200 ok redX 331ms) <br>
<br>may be it's come from the firefox browser so in opera and ie the same result but hang in more <br>so <br><br>in firefox linux <br>Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée. (sory it is copy paste in french google: <span lang="en"><span title="">Error analysis of the value for "filter". </span><span title="">Declaration dropped.</span></span> ) <br>
<a href="http://openlayers.org/api/OpenLayers.js" target="_blank">http://openlayers.org/api/OpenLayers.js</a><br>Line 247<br><br>maybe it receive xmldom is null after that line 775 <br><br>so if i have one it is better that none but the exemple for filter encoding use the Vector layer declaration instead of Layer.WFS <br>
<br>is there a developpement way or my wrong usage ? <br><br>tonton<br>