On Fri, Dec 14, 2012 at 4:02 AM, Ben Caradoc-Davies <
ben.caradoc-dav...@csiro.au> wrote:

> Niels, that is a very good point. Andrea, there is a bunch of XSD stuff
> like substitution groups that are not represented in GeoAPI. It makes it
> quite tricky to break this dependency. Niels knows because he implemented a
> lot of it.
>
> As future work, we could look at refactoring the way XSD information is
> handled in complex types. Perhaps we would be better off moving towards
> that goal one step at a time?
>
> Andrea, would it be OK to accept the dependencies listed by Niels? They
> will not prevent non-XML uses. Future refactoring could make this optional,
> and client code could (for example) inject an XML provider. I do not know
> if Niels is in a position to implement such a large refactoring at this
> time.
>

I remain on my position, everything that is complex feature but does not
require XSD should be merged in main (Feature is the base class, it's a bit
ridicolous that
in order to use it one has to add half of GeoTools in the classpath) and
gt-complex should probably be renamed gt-complex-xsd to make things clear,
that the module is useful only if you're messing with xml schemas.

I know it's not idea, but still looks like a step forward compared to the
current situation, where usage of complex features is basically limited to
a single data store implementation.
Hopefully in time we'll get a xpath property accessor that does not
requires xsd and slowly move to a saner situation where
using complex features can be done with just gt-main in the classpath.

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to