Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94C12109E5 for ; Wed, 24 Jul 2013 16:03:50 +0000 (UTC) Received: (qmail 47335 invoked by uid 500); 24 Jul 2013 16:03:50 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 47126 invoked by uid 500); 24 Jul 2013 16:03:49 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 47100 invoked by uid 99); 24 Jul 2013 16:03:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 16:03:48 +0000 Date: Wed, 24 Jul 2013 16:03:48 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6572) Validator component - Loading resource on classpath with relative paths doesnt work in OSGi MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718514#comment-13718514 ] Claus Ibsen commented on CAMEL-6572: ------------------------------------ Could be CAMEL-5837 causing this regression > Validator component - Loading resource on classpath with relative paths doesnt work in OSGi > ------------------------------------------------------------------------------------------- > > Key: CAMEL-6572 > URL: https://issues.apache.org/jira/browse/CAMEL-6572 > Project: Camel > Issue Type: Bug > Components: camel-core > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.10.7, 2.11.2, 2.12.0 > > > When loading a resource on the classpath with the validator component that uses xsd that imports other xsd's, and they import xsd using relative paths with ../.. to go back in the path, then that fails > an example > {code} > Caused by: java.io.FileNotFoundException: Cannot find resource in classpath for URI: schema/../../../structures/2.0/structures.xsd > at org.apache.camel.util.ResourceHelper.resolveMandatoryResourceAsInputStream(ResourceHelper.java:106) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira