[Geoserver-devel] [jira] Created: (GEOS-1700) wfs:FeatureCollection numberOfFeatures does not respect the maxFeatures parameter

wfs:FeatureCollection numberOfFeatures does not respect the maxFeatures parameter
---------------------------------------------------------------------------------

                 Key: GEOS-1700
                 URL: http://jira.codehaus.org/browse/GEOS-1700
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.6.0-RC3
            Reporter: Gabriel Roldán
            Assignee: Justin Deoliveira
             Fix For: 1.6.0

For the {{numberOfFeatures}} attribute in {{wfs:FeatureCollection}}, the spec says:

"_The optional numberOfFeatures attribute is used to indicate the number of features that are in the response document._"

We're returning the result count of the actual Query without taking into account the maxFeatures parameter, so if query result is greater than maxFeatures the returned feature collection declares to contain more features than it actually has.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira