You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/01/07 09:49:46 UTC

[jira] Commented: (ODE-881) SchemaCaptureTest fails locally with spaces in path

    [ https://issues.apache.org/jira/browse/ODE-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978687#action_12978687 ] 

Hudson commented on ODE-881:
----------------------------

Integrated in ODE-trunk-jdk6 #390 (See [https://hudson.apache.org/hudson/job/ODE-trunk-jdk6/390/])
    fixing ODE-881.


> SchemaCaptureTest fails locally with spaces in path
> ---------------------------------------------------
>
>                 Key: ODE-881
>                 URL: https://issues.apache.org/jira/browse/ODE-881
>             Project: ODE
>          Issue Type: Improvement
>          Components: Test environment
>    Affects Versions: 1.3.4
>         Environment: Project setup at a path with spaces (e.g. "/srv/dev/apache ode/...")
>            Reporter: Ancoron Luciferis
>            Assignee: Tammo van Lessen
>             Fix For: 1.3.5
>
>
> 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", " "));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.