I tried to attach the file directly but this mail never made it through, too big. I have posted the jar file here instead:
http://files.opengeo.org/gt-xsd-2.5.4.jar Christoph Ratke wrote: > Hi Justin, > thanks again. Yes you are right. I am sorry I should have noted I > already use StreamingParser > but the results were the same for both. > The workaround did not work, I am getting following Exception: > > java.lang.RuntimeException: java.lang.RuntimeException: Parsing failed > for fb: java.lang.RuntimeException: binding declares null type: > {http://www.opengis.net/gml}GeometryPropertyType > at org.geotools.xml.StreamingParser$1.run(StreamingParser.java:246) > > caused by: java.lang.RuntimeException: binding declares null type: > {http://www.opengis.net/gml}GeometryPropertyType Right, sorry, I totally forgot to mention that I recently fixed a bug for this exact issue. The fix won't be released officially until 2.5.5, but I have attached the relevant jar file to this mail. If you use this jar you should be good to go. > > Geotools version is 2.5.4. Is there some new work on gt xml/gml so I > should better try another version? > > > > Justin Deoliveira schrieb: >> One thing I should also point out is that the streaming approach is >> the better approach in many cases as it does not load the entire set >> of features into an in-memory collection. So the only approach really >> for large datasets. >> >> -Justin >> > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
