Hi Ben,

We did grab the 2.2 snapshot, but that didn't turn out to solve the issue we 
were having. What actually happened was that we were including a 'schema.xsd' 
file in the workspace, which was ignoring gml when loading. This in turn made 
all our gml cast to the wrong types, which lead to empty output on gml.

So the fix is to either drop the schema.xsd or change the GeoServer code to 
load gml schemas, even if they are previously loaded.

Cheers,


Andrew

-----Original Message-----
From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au] 
Sent: Thursday, 1 March 2012 12:59 PM
To: Andrew Betlehem
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] App schema mapping gives error casting 
GeometryTypeImpl to ComplexType

On 01/03/12 07:45, Andrew Betlehem wrote:
> Should I be using the GeoServer trunk rather than 2.1.3, which I'm using?

Yes. The stable branch is over a year behind trunk, which has many important 
improvements. Here are some Jira queries that should give you a rough idea of 
things that have been fixed. These are only part of the picture as we also have 
an internal Jira and not all its issues shadow codehaus issues:

https://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+GEOT+AND+resolution+%3D+Fixed+AND+component+%3D+%22app-schema+plugin%22+AND+status+in+%28Resolved%2C+Closed%29+AND+updated+%3E%3D+2011-01-18+ORDER+BY+updated+DESC%2C+key+ASC

https://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+GEOS+AND+resolution+%3D+Fixed+AND+component+%3D+%22Application+schema%22+AND+status+in+%28Resolved%2C+Closed%29+AND+updated+%3E%3D+2011-01-18+ORDER+BY+updated+DESC%2C+key+ASC

The Spatial Information Services Stack currently uses trunk:
https://www.seegrid.csiro.au/wiki/Siss/SISSReleases

The GeoServer build in each SISS release has undergone substantial integration 
and deployment testing with app-schema. They are all built from trunk.

Kind regards,

--
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineer CSIRO Earth 
Science and Resource Engineering Australian Resources Research Centre
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to