Re: [Geotools-devel] bugs related to URI/URL handling

2009-06-30 Thread Jody Garnett
One thing at a time; the bug is still not fixed near as I can tell. Andrea found a better way (removing some internal decoding/encoding stuff that only the shapefile datastore was doing). We still have some test failures so the cat is not in the bag yet (and thus not suitable for documentin

Re: [Geotools-devel] bugs related to URI/URL handling

2009-06-30 Thread Ben Caradoc-Davies
Jody Garnett wrote: > Okay so I have started being able to patch these problems (and am > getting more test cases to pass): > 1. file.toURI() > 2. check result; if it contains "+" symbols; unpack; replace; repack into URI > 3. change to URL > I am going to wrap this up in a DataUtilities method; th

Re: [Geotools-devel] bugs related to URI/URL handling

2009-06-29 Thread Jody Garnett
All tests pass; the evil the evil. Michael I will try and send you a patch; it is not pretty but it works. If you like it you can commit it tomorrow. Jody On Tue, Jun 30, 2009 at 1:39 AM, Jody Garnett wrote: > Okay so I have started being able to patch these problems (and am > getting more test

Re: [Geotools-devel] bugs related to URI/URL handling

2009-06-29 Thread Jody Garnett
Okay so I have started being able to patch these problems (and am getting more test cases to pass): 1. file.toURI() 2. check result; if it contains "+" symbols; unpack; replace; repack into URI 3. change to URL I am going to wrap this up in a DataUtilities method; this method should later take int

[Geotools-devel] bugs related to URI/URL handling

2009-06-29 Thread Jody Garnett
Bug to fix file.toURL() - not fixed - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4273532 Bug to deprecate file.toURL() with replacement file.toURI().toURL() - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6179468 So what is left? File.toURI().toURL() does not handle the wacka wacka

[Geotools-devel] bugs

2007-10-01 Thread Bolla Péter
Hi Justin, (and others) Nice job with the new feature model! :) I'm just getting to know it, and cleaning up the GPX datasource. I've found a bug, that I don't know if you're aware of: DataUtilities.defaultValue(Class type) is get called with null, if an attributte is set to be not nillable. I

[Geotools-devel] Bugs in the GMLComplexType class

2005-10-17 Thread Mark Hall
Hi I've discovered what I think are bugs in the GMLComplexType class. GMLComplexType$CoordType.value(...): The elements to value comparisons for value extraction compare the element name to the name of the type of the coordinate. if (elements[0].getName().equals(value[i].getElement().getType()