Andrea Aime wrote:
> Hi,
> I was playing with schema.xml overrides and found out a couple things:
> - when trying to override the geometry type of a feature type that has
>    a generic GeometryPropertyType I got back a Q1:PointPropertyType.
>    Investigation showed that it was happening because I did not
>    add the xmlns:gml="http://www.opengis.net/gml"; in my complexType
>    element.
>    Very reasonable, yet an error, or an implicit import of the gml
>    namespace if missing, could be helpful
Yeah, this can probably be fixed. The implicit namespace does happen, it 
is just there is no mapping. I think just a simple check to ensure that 
a namespace mapping exists should fix that issue. Filed a jira for this:

http://jira.codehaus.org/browse/GEOS-2937

> - I then tried to override the geometry type of a geometry whose
>    type is already know, but it's supposedly wrong. That did not
>    work, the original geometry type resisted my override efforts.
>    Not sure if this to be expected thought, as simple types
>    can be overridden at will (can take a string and force it into
>    a xs:integer... thought in output I get xs:long)
> 
> We should probably also open a jira about documenting these
> schema override features.
> 
> Cheers
> Andrea
> 


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to