Hi Adam,<div><br></div><div>You're right : the WFSCapabilitiesReader was only tested against WFS 1.0.0.</div><div><div><br></div>For now, OpenLayers.Format.WFSCapabilities.v1.1.0 is an empty shell. So, this is probably the first place to focus our efforts on.</div>
<div><br></div><div><div>In the mean time, you can switch to WFS 1.0.0, if this option is available to you.</div></div><div><br></div><div>BTW, I'm wondering if the object resulting from format.read(wfs_1.1.0_cap) should be equivalent to format.read(wfs_1.0.0_cap), or if it should mirror the XML structure. </div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>F.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br><div class="gmail_quote">On Sun, May 9, 2010 at 2:21 AM, Adam Ratcliffe <span dir="ltr"><<a href="mailto:adam@prema.co.nz">adam@prema.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm trying to setup a WFSCapabilitiesReader to work against a WFS 1.1.0 server. Line 86 of WFSCapabilitiesReader.js references the 'capability' element that appears to be present in the WFS 1.0.0 schema only:<br>
<br>
var protocolDefaults = {<br>
url: data.capability.request.getfeature.href.post<br>
};<br>
<br>
I'm a complete noob when it comes to WFS so I could be wrong about this but I don't have this element in the WFS 1.1.0 getCapabilities response that I get from my local GeoServer installation.<br>
<br>
Cheers<br>
Adam<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>