Hi Adam,

You're right : the WFSCapabilitiesReader was only tested against WFS 1.0.0.

For now, OpenLayers.Format.WFSCapabilities.v1.1.0 is an empty shell. So,
this is probably the first place to focus our efforts on.

In the mean time, you can switch to WFS 1.0.0, if this option is available
to you.

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.

F.

On Sun, May 9, 2010 at 2:21 AM, Adam Ratcliffe <[email protected]> wrote:

> 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:
>
>        var protocolDefaults = {
>            url: data.capability.request.getfeature.href.post
>        };
>
> 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.
>
> Cheers
> Adam
> _______________________________________________
> Users mailing list
> [email protected]
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to