//different behaviour across versions, in wfs < 2.0 we merge all the features into
// a single collection, wfs 2.0+ we create a feature collection that contains multiple
// feature collections
if ("featureMember".equals(name.getLocalPart())) {
//wrap in a single
return new CompositeFeatureCollection(features);
}
//we need to recalculate numberMatched, and numberRetunred
int numberMatched = -1;