On 27/01/10 22:09, Justin Deoliveira wrote:
> My apologies for delayed response. Lots of stuff on the go right now.

Yes, I see you have been rather busy!

> As for your question. Those types that are bound to JTS types were
> changed after the fact manually. Tedious yes I know.

Thanks for confirming that. At least now I know that, if I change them 
manually, I am not barking up the wrong tree.

I might see if I can automate this process.

> I believe the only place those bindings are used is in GeoServer. When
> it auto generates a schema from a feature type it uses those bindings to
> do the java class to xml type mapping.

They are also used in app-schema when trying to set a value on an XPath; 
the bound type is examined to see whether it can contain child nodes. 
The modified bindings to Geometry.class prevent this and allow the 
special treatment of geometries.

> Hope that helps.

Indeed it does.

> One thing I brought up some time ago on this list but
> never got any traction was the idea of a specific class called
> "TypeMapping" which would encapsulate java to xml type mapping. Not sure
> if it will help in this case or not.

I will have a look through the archives.

Thanks again.

Kind regards,

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer, CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to