[Geoserver-devel] [jira] (GEOS-6232) WFS 2 GetFeatureById stored query returns feature inside a FeatureCollection

Marcus Sen created BugGEOS-6232
WFS 2 GetFeatureById stored query returns feature inside a FeatureCollection

Issue Type:

BugBug

Affects Versions:

2.4.2

Assignee:

Andrea Aime

Components:

WFS

Created:

16/Dec/13 5:47 AM

Description:

If I send the query:

http://localhost:8080/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&storedquery_id=urn:ogc:def:query:OGC-WFS::GetFeatureById&id=archsites.1&

to a freshly installed GeoServer with the default shipped demo data sets the response is wrapped in a wfs:FeatureCollection.

Para 11.3.5 of the WFS 2.0.0 standard says that for the GetFeatureById stored query:

“The response shall only contain the feature XML without any of the normal containing elements generated as a result of executing a GetFeature operation…”

Environment:

Windows 7
Windows installer version of GeoServer
Oracle JDK 1.6

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Marcus Sen

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)