The attached patch improved the handling in xsd-core Schemas of paths with spaces. Instead of urldecoding the input location, DataUtilities.urlToFile is used for manipulations. This means that an invalid file: URL containing unescaped spaces is never constructed, facilitating the implementation of SchemaLocationResolver implementations that otherwise have trouble handling broken URLs.
I can hold this off stable until 2.7.0 is out, if you like.
(I have previously had to work around this behaviour in app-schema-resolver: this fix will allow that workaround to be fixed as well.)
CodeHaus Comment From: jdeolive - Time: Mon, 7 Feb 2011 09:47:25 -0600
Patch looks good Ben. The cautious part of me does agree that maybe hold off on 2.7.x until after 2.7.0... but at the same time this is a bug fix so if it does cause a regression we just fix accordingly. I leave it up to you to make the call.
CodeHaus Comment From: bencaradocdavies - Time: Sun, 3 Apr 2011 22:50:56 -0500