Re: [Geotools-devel] XML validation slowness

2016-01-21 Thread Ben Caradoc-Davies
Patrick, I think SchemaResolver does exactly what you want. You can ship schemas bundled in jars, and the resolver will download missing schemas from the net and store them in a persistent local file cache. The implementation is designed to correctly resolve even the nastiest cross-source relat

[Geotools-devel] XML validation slowness

2016-01-21 Thread Patrick Valsecchi
Hi After investigating some transient slowness in Mapfish Print (a webapp that uses GeoTools V11.0) I've found out that for each and every GML it is parsing, it is downloading the XSDs from external web sites. For example [1]. That causes us several problems: 1. Very very slow if the web site