Hi,
some time ago, while discussing validation issues in WCS 2.0 land and
the associated problems with the xlink update, Justin suggested we try to
update
all the OGC schemas in the GeoTools classpath to the latest version.

I've tried to do so, but I'm stumbling against some walls.
Here is the branch where I'm doing the work:
https://github.com/aaime/geotools/tree/ogc_schema_update

First off, I've found that some tests got extremely slow with the update.
I believe this is happening because most schemas OGC now use absolute
imports as opposed to relative ones.
For a tests using low level Eclipse XSD code I've rolled out a custom
URIHandler, see here:
https://github.com/aaime/geotools/commit/321ca6838c030473184ed0a0e7200a62e6b30ecc

There is a number of tests that keeps on accessing
http://www.w3c.org/2001/xml.xsd
despite my best efforts. I thought it would have been sufficient to add the
XML schema
class to the dependencies of other basic schema, such as GML, OWS and so
on, but
that does not quite do it in all cases.
OGCFilterTest.testBBOXValidateWithoutPropertyName is an example of a test
that keeps on downloading xml.xsd

Other tests that seems to be downloading half of the internet are:
GML3EncodingTest
org.geotools.filter.v2_0.bindings.MetByBindingTest
org.geotools.filter.v2_0.bindings.FilterTypeBindingTest

The last test is also failing, but it takes 50+ seconds just to get it
initialized,
so I basically gave up.

Anyone with quick ideas on how to avoid all these downloads?

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

-------------------------------------------------------
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to