Andrea Aime wrote:
> Andrea Aime ha scritto:
>> So I'll hammer at it a bit more, decide which tests I
>> cannnot fix, and ask relevant people for a helping
>> hand :-)
> 
> Updated the patch at http://jira.codehaus.org/browse/GEOT-2568
> 
> Basically the only thing I could not really fix is the way
> the XSD parser/encoder handles "locations". The XSD configurations
> do take URL and toString them to make a "location" variable,
> the Schemas class then builds new File(location) which fails if
> the location has spaces inside, and in other places build URI
> directly out of the location and then the XSD parser just bombs
> out with an NPE trying to deal with them.
> I could not figure out if it's just Eclipse XSD that's unable to
> deal with those paths or what.
> Justin, can you have a look?
> 
Yeah, actually i ran into this before when trying to set up a windows 
build under a path with spaces in it. And I could not really think of a 
great way to handle this... spaces have meaning in the schemaLocation 
attribute and I am not sure but I think that replacing spaces with %20 
will cause schema resolves to fail. I can take another crack at it when 
i get some time.
> The updated patch is still for 2.5.x only, but I guess you can just
> get the relevant xsd bits and try to build on any path that
> has spaces inside (that is, if you don't want to deal with the
> full patch on 2.5.x).
> 
> Cheers
> Andrea
> 


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to