[Zoo-discuss] Caching, incorrect caching file(?)

Gérald Fenoy gerald.fenoy at geolabs.fr
Wed Oct 31 15:52:35 PDT 2012


Hi Farkas,
can you please confirm that you built your ZOO-Kernel using the revision 375 [1] or upper ?
This should solve the issue when reading the file.

Hope this helps,
Best regards,

[1] http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/service_internal.c?rev=375

Gérald Fenoy
gerald.fenoy at geolabs.fr

Le 31 oct. 2012 à 12:58, Farkas H <farkas.dus at gmail.com> a écrit :

> Hi list,
> 
> I'm checking the caching mechanism for referenced wfs-data.
> The caching works very well.
> 
> But I've got some strange behavior accessing referenced wfs-data from
> localhost. I've setup a GeoServer wfs (version 2.2) with polygons
> based on Oracle XE (version 10).
> If I compute for example the centroids via CentroidPy the referenced
> wfs data is stored in the cache directory and I get a correct
> response.
> Next time I execute the same request I get
> (1) an error message: XML parsing of GML file failed : not well-formed ...
> (2) the response file has no features:
> ...
> <ogr:FeatureCollection xsi:schemaLocation="http://ogr.maptools.org/
> store4836.xsd"></ogr:FeatureCollection>
> ...
> 
> There seems to be nothing wrong with the caching file.
> As I can see zooWPS caching files usually have just one line. This
> caching file has two lines:
> line 1: <?xml version="1.0" encoding="UTF-8"?>
> line 2: <wfs:FeatureCollection xml ... </wfs:FeatureCollection>
> 
> After I corrected the caching file manually everything went well.
> 
> What went wrong?
> I'm wondering if I made any mistakes setting up the wfs.
> 
> I would appreciate any advice.
> 
> Regards,
> Farkas
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss



More information about the Zoo-discuss mailing list