On Fri, Jun 1, 2012 at 2:08 PM, Jürgen Weichand <
[email protected]> wrote:
> Hello everybody,
>
> the WFS 1.1 GetCapabilities-Response does not validate.
> (GeoServer 2.2 beta2)
>
> DefaultSRS <> DefaultCRS
>
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'DefaultCRS'. One of '{"http://www.opengis.net/ows":Keywords,
> "http://www.opengis.net/wfs":DefaultSRS,
> "http://www.opengis.net/wfs":NoSRS}' is expected. [109]
>
Can I see the request you made? If you did not specify the version in
GeoServer 2.2 beta2
you'll get a WFS 2.0 capabilities document, which uses DefaultCRS as the
specification
changed and demanded this new name
If your client does not support version negotiation you can probably give
it the following
capabilities url that makes the version you want explicit:
http://host:port
/geoserver/ows?service=wfs&version=1.1.0&request=GetCapabilities
Cheers
Andrea
--
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel