[Geoserver-devel] [jira] Created: (GEOS-1610) VersionedGML3OutputFormat not working on trunk

VersionedGML3OutputFormat not working on trunk
----------------------------------------------

                 Key: GEOS-1610
                 URL: http://jira.codehaus.org/browse/GEOS-1610
             Project: GeoServer
          Issue Type: Improvement
          Components: Versioning
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
            Priority: Critical
             Fix For: 1.7.0-beta1

VersionedGML3OutputFormat is not working on trunk. It's basically a copy of GML3OutputFormat but using a subclass of FeatureCollectionType, and it's a straight port of a working one on 1.6.x.
Why it does not work remains a mystery to me, but I guess you'll probably find out within minutes.

When doing the sample call WFSV_03_GetVersionedFeatureCollection_1.1.xml I get as a result xml that is missing the topp prefix in all elements (has null in its place) and the output is filled with warnings such as:

{code}
13 dic 14:37:33 WARN [geotools.xml] - net.opengis.wfsv.impl.VersionedFeatureCollectionTypeImpl@anonymised.com (lockId: null, timeStamp: java.util.GregorianCalendar[time=1197553034406,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Berlin",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=143,lastRule=java.util.SimpleTimeZone[id=Europe/Berlin,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=2007,MONTH=11,WEEK_OF_YEAR=50,WEEK_OF_MONTH=2,DAY_OF_MONTH=13,DAY_OF_YEAR=347,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=2,AM_PM=1,HOUR=2,HOUR_OF_DAY=14,MINUTE=37,SECOND=14,MILLISECOND=406,ZONE_OFFSET=3600000,DST_OFFSET=0], numberOfFeatures: 2, feature: [org.geotools.data.store.ReTypingFeatureCollection@anonymised.com]) (version: xxx) (net.opengis.wfsv.impl.VersionedFeatureCollectionTypeImpl) is not of type org.geotools.feature.FeatureCollection
{code}

thought I'm not sure these two are related...

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