[geotk] Problems with JAXPStreamFeatureReader (side-effects from recent changes?)

johann sorel johann.sorel at geomatys.com
Thu Feb 5 08:52:14 PST 2015


Hello,

You are right I made several updates on the GML XSD reader, inherited 
types and properties from different namespaces where missing.
As a result the xsd contains a lot more informations (if you are using 
sub-type of gml : citygml, observations, ...)
I will work some more on GML/WFS 2.0 in the coming weeks.

Could you provide a small test case for your issue ? I'll have a look soon.


thanks

Johann Sorel



On 05/02/2015 16:43, Emmanuel Blondel wrote:
> Hello,
>
> I come back to you on the JAXP StreamFeatureReader.
> So far we used it successfully in one of our project, for getting data 
> from WFS 1.0 and 1.1 (i've reported on this list the kind of issue we 
> had with WFS 2.0). Due to some recent bug fixing, we were still 
> relying on the 4.x-SNAPSHOT version.
> Unfortunately, this is not working anymore, and i get some error like 
> this one (subset for what concerns geotk):
>
> /java.lang.IllegalArgumentException: The xml does not describe the 
> same type of feature: //
> // Expected: _FeatureCollection//
> //FeatureCollection//
> //_Coverage//
> //_ContinuousCoverage//
> //_DiscreteCoverage//
> //Observation//
> //DirectedObservation//
> //DirectedObservationAtDistance//
> //FAO_MAJOR//
> //
> //But was: ExceptionReport//
> //    at 
> org.geotoolkit.feature.xml.jaxp.JAXPStreamFeatureReader.read(JAXPStreamFeatureReader.java:204)//
> //    at 
> org.geotoolkit.feature.xml.jaxp.JAXPStreamFeatureReader.read(JAXPStreamFeatureReader.java:131)//
> ////...//
> //
> /Since we didn't change anything on our side, we suspect it could be a 
> side-effect of recent changes?
>
> Many thanks in advance if you could have a look into this
>
> Cheers
> Emmanuel
>
>
> _______________________________________________
> Geotoolkit mailing list
> Geotoolkit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geotoolkit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20150205/e9c23984/attachment.html>


More information about the Geotoolkit mailing list