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
> - 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)
Hmm... I tried the same test and it worked for me in PostGIS. Can you 
include the schema.xsd you are using.
> 
> We should probably also open a jira about documenting these
> schema override features.
Indeed. It seems that this feature has been brought to the forefront 
much more than initially expected.
> 
> 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