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 8C999D6FD for ; Mon, 3 Dec 2012 07:12:04 +0000 (UTC) Received: (qmail 45085 invoked by uid 500); 3 Dec 2012 07:12:04 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 44536 invoked by uid 500); 3 Dec 2012 07:12:01 -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 44432 invoked by uid 99); 3 Dec 2012 07:11:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 07:11:58 +0000 Date: Mon, 3 Dec 2012 07:11:58 +0000 (UTC) From: =?utf-8?Q?Johan_M=C3=B6r=C3=A9n_=28JIRA=29?= To: issues@camel.apache.org Message-ID: <1663979798.52204.1354518718481.JavaMail.jiratomcat@arcas> In-Reply-To: <416893731.44887.1354276798317.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CAMEL-5837) Problem with nested schema imports when upgrading from 2.8.6 to 2.10.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5837?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1350= 8519#comment-13508519 ]=20 Johan M=C3=B6r=C3=A9n commented on CAMEL-5837: ------------------------------------ Hi, yes that works but it would make the health.xsd file invalid when worki= ng with it stand-alone in an ide like Oxygen or Intellij. Our components ha= ve been reading nested schemas from the class-path (we package it in a war-= file) before. But perhaps spring did some magic and read it from the filesy= stem? Is there anyway to get the old behavior back and still upgrade to 2.10.2? regards, Johan =20 > Problem with nested schema imports when upgrading from 2.8.6 to 2.10.2 > ---------------------------------------------------------------------- > > Key: CAMEL-5837 > URL: https://issues.apache.org/jira/browse/CAMEL-5837 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.10.2 > Environment: MacOS X, java 7 > Reporter: Johan M=C3=B6r=C3=A9n > Assignee: Willem Jiang > Attachments: xsd-import_example 2.zip > > > Hello > I'm experiencing trouble with the validiator component when upgrading fro= m 2.8.6 to 2.10.2.=20 > The problem seems to be related to imported schemas that does additional = imports (all using relative paths). XSD A importing XSD B works fine. But i= f B in turn imports XSD C. That import seems to be resolved with the base p= ath of A.=20 > All works fine in 2.8.6 but breaks when upgrading to 2.10.2. > I will attach an example project where you can just switch version to ver= ify the scenario. =20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira