Hi,
I've just committed on 1.6.x the support for
GetVersionedFeatureCollection, which will return a
feature collection with 4 extra attributes, author,
date, message and version, all related to the latest
changes.
In order to use it, you'll have to build both gt2 2.4.x
and gs 1.6.x.
I've also added new sample calls in the versioning
configuration. Documentation is still pending, but
if all you want to do is to grab the versioned feature
collection you might use a query like:
<wfsv:GetVersionedFeature service="WFSV" version="1.0.0"
outputFormat="GML2"
xmlns:topp="http://www.openplans.org/topp"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:wfsv="http://www.opengis.net/wfsv"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfsv
http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-versioninig.xsd">
<wfs:Query typeName="topp:archsites">
<ogc:Filter>
<ogc:FeatureId fid="archsites.1"/>
<ogc:FeatureId fid="archsites.2"/>
<ogc:FeatureId fid="archsites.26"/>
</ogc:Filter>
</wfs:Query>
</wfsv:GetVersionedFeature>
Remember to specify explicitly the GML2 output format,
WFS 1.0 output is not fully working and if you don't
specify it you'll get GML3 output instead.
Let me know if it works, and if anything broke... I
had to do quite some major changes to add this
extra operation.
Cheers
Andrea