Hello, I'm coming back with my problem with WFS DataStore. I tried to contact David Zwiers with his address on gmail but no reply so far. Anyway I'm investigating the issue which really looks like a serious bug.
I remind that the only solution I have found to perform different queries *on different feature types* is to recreate a new FeatureSource and even a new DataStore (!) for each new request! This workaround is obvliously desastrous for performances. >From what I can understand the problem seems to come from the following method: SchemaFactory.getRealInstance(URI targetNamespace2, InputStream is1, Level level) Line 344 (version 3.2.1) there is: schemas.put(targetNamespace, contentHandler.getSchema()); But it should be: schemas.put(targetNamespace, schema); To take in care the new merged schema. Maybe someone could confirm me? Thanks, Vincent. -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de zze-M2S FRISON V ext RD-BIZZ Envoyé : vendredi 9 mars 2007 12:20 À : [email protected]; Jody Garnett; Andrea Aime Objet : Re: [Geotools-gt2-users] DataStore factory Nevertheless I really think there's something weird about WFSDataStore/FeatureStore. I don't speak about concurrency but just about side effects on sequential operations on differents feature types. I will try to contact dzwiers, who seems to be the WFS geotools plugin maintener, to help me to solve it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
