[
https://issues.apache.org/jira/browse/WODEN-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485714
]
Graham Turrell commented on WODEN-154:
--------------------------------------
r524408.
Also fixed a similar problem in test/javax/xml/namespace/QNameTest.java, where
an attempt was made to open a FileInputStream from a URL which may be a jar URL.
This caused the test to fail unexpectedly when running via the woden test jar,
when the test resource is indeed being extracted from the jar.
Tested in both scenarios, both connected and disconnected.
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]