Hallo
the WFS 2.0 Conformance Test Suite send a request with another Namesspace then
used in my Geoserver Project and throws an exception.
The Request:
https://host/geoserver/ps/ows?service=WFS&version=2.0.0&request=GetFeature&count=25&typenames=ns21:ProtectedSite&namespaces=xmlns(xml,http://www.w3.org/XML/1998/namespace),xmlns(ns21,http://inspire.ec.europa.eu/schemas/ps/4.0),xmlns(wfs,http://www.opengis.net/wfs/2.0)
In my geoserver project the
namespace(-uri)/http://inspire.ec.europa.eu/schemas/ps/4.0/ has the prefix ps.
If the prefix ps is specified in the request, the response is as expected.
Should geoserver not lookup the the namespace prefix by the namespace(-uri)?
Is this implemented and i missing sth.?
Any comments would appreciate.
By the way the Java-Stacktrace:
org.geoserver.wfs.WFSException: Unknown namespace []
at
org.geoserver.wfs.kvp.BaseFeatureKvpRequestReader.checkTypeName(BaseFeatureKvpRequestReader.java:342)
at
org.geoserver.wfs.kvp.BaseFeatureKvpRequestReader.read(BaseFeatureKvpRequestReader.java:129)
at
org.geoserver.wfs.kvp.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:67)
at
org.geoserver.wfs.kvp.v2_0.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:32)
at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1511)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:684)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:261)
Thankyou.
Ralf Trier
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users