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 2C904DBC0 for ; Fri, 16 Nov 2012 08:06:13 +0000 (UTC) Received: (qmail 19848 invoked by uid 500); 16 Nov 2012 08:06:13 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 19797 invoked by uid 500); 16 Nov 2012 08:06:12 -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 19783 invoked by uid 99); 16 Nov 2012 08:06:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 08:06:12 +0000 Date: Fri, 16 Nov 2012 08:06:12 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: <786688401.122949.1353053172514.JavaMail.jiratomcat@arcas> In-Reply-To: <1343621166.119153.1352986092110.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CAMEL-5792) Validator component - Error loading resource on windows 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-5792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-5792. -------------------------------- Resolution: Fixed Fix Version/s: 2.11.0 2.10.3 2.9.5 > Validator component - Error loading resource on windows > ------------------------------------------------------- > > Key: CAMEL-5792 > URL: https://issues.apache.org/jira/browse/CAMEL-5792 > Project: Camel > Issue Type: Test > Components: camel-core, tests > Affects Versions: 2.10.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.9.5, 2.10.3, 2.11.0 > > > Doing CI tests on Windows spotted this on multiple occasions. It may be an issue in the Camel validator component itself. > Test Name > Duration > Age > >>> org.apache.camel.itest.validator.ValidatorSchemaImportTest.testRelativeParentSchemaImport 0.647 1 > >>> org.apache.camel.itest.validator.ValidatorSchemaImportTest.testDotSlashSchemaImport 0.08 1 > >>> org.apache.camel.itest.validator.ValidatorSchemaImportTest.testRelativeDoubleSlashSchemaImport 0.067 1 > {code} > org.apache.camel.FailedToCreateRouteException: Failed to create route route3 at: >>> DoTry[[To[validator:org/apache/camel/component/validator/doubleslash/child.xsd], To[mock:valid], DoCatch[ [class org.apache.camel.ValidationException] -> [To[mock:invalid]]], DoFinally[[To[mock:finally]]]]] <<< in route: Route[[From[direct:start]] -> [DoTry[[To[validator:org/apach... because of Failed to resolve endpoint: validator://org/apache/camel/component/validator/doubleslash/child.xsd due to: java.io.FileNotFoundException: Cannot find resource in classpath for URI: org/apache/camel/component/validator/doubleslash/.//parent.xsd > at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:873) > at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:171) > at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:723) > at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1795) > at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:667) > at org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:337) > at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:264) > at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:629) > at org.apache.camel.itest.validator.ValidatorSchemaImportTest.testRelativeDoubleSlashSchemaImport(ValidatorSchemaImportTest.java:98) > {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