[Geoserver-devel] [jira] Created: (GEOS-1611) Versioned properties are extracted in the wrong order by the GML2 encoder

Versioned properties are extracted in the wrong order by the GML2 encoder
-------------------------------------------------------------------------

                 Key: GEOS-1611
                 URL: http://jira.codehaus.org/browse/GEOS-1611
             Project: GeoServer
          Issue Type: Improvement
          Components: Versioning
    Affects Versions: 1.6.0-RC1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.0-beta1

GML2 output format mimicks the FeatureType structure and has the versioning properties last, when they should be first.
We have a few options here:
* change the versioning data store to emit the extra properties first
* change the order on the fly while encoding (a sort of extended retypefeaturecollection)

From an xml point of view this makes sense, since the actual Feature extends VersionedFeauture, so versioning attributes must come fist, yet from a programming (gt2) point of view it seems strange that when extracting extra attributes from a feature you get them first...

--
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