<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Emmanuel,<br>
<br>
The issue here is that the server return an error instead of
returning a proper FeatureCollection.<br>
Either there was a change on the client side, that have changed
the request, or its the server that somehow changed its behavior.<br>
<br>
I suggest you print out the response of the server, it will
probably contains the clue to the error leading to an exception
report return.<br>
<br>
Guilhem Legal<br>
<br>
<br>
Le 05/02/2015 16:43, Emmanuel Blondel a écrit :<br>
</div>
<blockquote cite="mid:54D38F99.6010301@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Hello,<br>
<br>
I come back to you on the JAXP StreamFeatureReader.<br>
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.<br>
Unfortunately, this is not working anymore, and i get some error
like this one (subset for what concerns geotk):<br>
<br>
<i>java.lang.IllegalArgumentException: The xml does not describe
the same type of feature: </i><i><br>
</i><i> Expected: _FeatureCollection</i><i><br>
</i><i>FeatureCollection</i><i><br>
</i><i>_Coverage</i><i><br>
</i><i>_ContinuousCoverage</i><i><br>
</i><i>_DiscreteCoverage</i><i><br>
</i><i>Observation</i><i><br>
</i><i>DirectedObservation</i><i><br>
</i><i>DirectedObservationAtDistance</i><i><br>
</i><i>FAO_MAJOR</i><i><br>
</i><i><br>
</i><i>But was: ExceptionReport</i><i><br>
</i><i> at
org.geotoolkit.feature.xml.jaxp.JAXPStreamFeatureReader.read(JAXPStreamFeatureReader.java:204)</i><i><br>
</i><i> at
org.geotoolkit.feature.xml.jaxp.JAXPStreamFeatureReader.read(JAXPStreamFeatureReader.java:131)</i><i><br>
</i><i> </i><i>...</i><i><br>
</i><i><br>
</i>Since we didn't change anything on our side, we suspect it
could be a side-effect of recent changes?<br>
<br>
Many thanks in advance if you could have a look into this<br>
<br>
Cheers<br>
Emmanuel<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Geotoolkit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geotoolkit@lists.osgeo.org">Geotoolkit@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geotoolkit">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a></pre>
</blockquote>
<br>
</body>
</html>