You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "Graham Turrell (JIRA)" <ji...@apache.org> on 2007/03/26 11:36:32 UTC

[jira] Resolved: (WODEN-154) Resolver error - IllegalArgumentException "URI is not hierarchical"

     [ https://issues.apache.org/jira/browse/WODEN-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Graham Turrell resolved WODEN-154.
----------------------------------

    Resolution: Fixed

Committed revision 522465.
SimpleURIResolver was attempting to create a File object (then a FileInputStream) from a URI representing a jar URL.
Changed to use OpenStream() from the URL.

> Resolver error - IllegalArgumentException "URI is not hierarchical"
> -------------------------------------------------------------------
>
>                 Key: WODEN-154
>                 URL: https://issues.apache.org/jira/browse/WODEN-154
>             Project: Woden
>          Issue Type: Bug
>          Components: Parser
>            Reporter: John Kaputin
>         Assigned To: Graham Turrell
>             Fix For: M8
>
>
> Woden M7 raises this error when the junit tests are run via the woden-test-1.0-incubating-M7.jar file, rather than via the junit classes in the sandbox filesystem (e.g. the Eclipse project /bin directory). 
> This was initially resolved in Woden trunk by capitalizing a relative filepath string in SimpleURIResolver.
> 	private final String schemaCatalogLocation = "meta-inf/";
> was changed to:
> 	private final String schemaCatalogLocation = "META-INF/";
> However, while this change allowed the junit test to run successfully via the jar file, it caused the same error to occur then running them against the file system. Graham is looking into this.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org