|
[
Permalink
| « Hide
]
Jody Garnett added a comment - 05/Mar/06 06:38 PM
sorry an xml bug for yeah
Still present in 2.4-M1, this time with a file taken at :
http://www.ordnancesurvey.co.uk/oswebsite/products/osmastermap/layers/topography/sample.html (2182-SS7886-2c1.gz ) As far as I can see, the method is : public void gmlCoordinates(double x, double y) throws SAXException { currentHandler.addCoordinate(new com.vividsolutions.jts.geom.Coordinate( x, y)); } ... so, I assume that currentHandler == null. It is still not clear to me if the problem is linked to an unitialized currentHandler or to an odd geometrical information such as in : <osgb:Rectangle srsName='osgb:BNG'> <gml:coordinates>278000.000,186000.000 280000.000,188000.000</gml:coordinates> </osgb:Rectangle> A quick patch to wrap NPEs and topology exceptions to SAX ones.
Not as verbose as one could expect but that's probably better than nothing. Still trying to understand Geotools build system to submit a test case (which works on mylocal installation). Just to not forget about it :
http://www.nabble.com/Re%3A-Issue-742-%28GML-SAX-parsing%29-p10380930.html |
||||||||||||||||||||||||||||||||||||||||