Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.4
-
None
-
Project setup at a path with spaces (e.g. "/srv/dev/apache ode/...")
Description
The SchemaCaptureTest test in ODE Utilities fails when someone uses a path with spaces locally. In that case the following line returns a file path containing "%20" instead of " " in the file path:
InputStream xsdStream = new FileInputStream(TestResources.getRetailerSchema().getFile());
I fixed mine here for spaces, but in generally the problem exists for any character that is escaped in a URL:
InputStream xsdStream = new FileInputStream(TestResources.getRetailerSchema().getFile().replaceAll("%20", " "));