camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] [Commented] (CAMEL-5321) Validator Component Fails on XSD with Classpath Relative Imports
Date Thu, 31 May 2012 06:26:23 GMT


Willem Jiang commented on CAMEL-5321:

After went through the thread reference and debugging the code, I found we still need to let
validator to load the resource from jar file. I will commit a quick fix for that shortly.
> Validator Component Fails on XSD with Classpath Relative Imports
> ----------------------------------------------------------------
>                 Key: CAMEL-5321
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.10.0
>            Reporter: Scott England-Sullivan
>            Assignee: Willem Jiang
>             Fix For: 2.9.3, 2.10.0
>         Attachments: CAMEL-5321.patch, camel-validator-test.tar.gz
> When using the Validator Component with an XSD file from a Jar that contains a relative
import, the component will throw a FileNotFoundException.
> This is due to the ObjectHelper.loadResourceAsStream(String) operation attempting to
load the classpath resource using file path semantics that will not resolve canonically.
> Test case and patch to follow.
> [Thread Reference|]
> Best Regards,
> Scott England-Sullivan

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message