Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8AF7E8EDB for ; Mon, 22 Aug 2011 11:55:27 +0000 (UTC) Received: (qmail 64846 invoked by uid 500); 22 Aug 2011 11:51:23 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 58037 invoked by uid 500); 22 Aug 2011 11:50:46 -0000 Mailing-List: contact dev-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 dev@camel.apache.org Received: (qmail 51206 invoked by uid 99); 22 Aug 2011 11:50:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 11:50:08 +0000 X-ASF-Spam-Status: No, hits=-2000.1 required=5.0 tests=ALL_TRUSTED,DATE_IN_PAST_12_24,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 11:50:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7E6FDC9F61 for ; Sun, 21 Aug 2011 21:40:29 +0000 (UTC) Date: Sun, 21 Aug 2011 21:40:29 +0000 (UTC) From: "David J. M. Karlsen (JIRA)" To: dev@camel.apache.org Message-ID: <1372585175.17.1313962829514.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <138121954.56740.1313945487404.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-4361) Improve validator to accept several schemas MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088480#comment-13088480 ] David J. M. Karlsen commented on CAMEL-4361: -------------------------------------------- Hm, I see ./src/test/resources/org/apache/camel/component/validator/camelContext.xml in camel-spring on trunk which is 2.9? However I do not find the implementation of the component. Where is the new validator component? > Improve validator to accept several schemas > ------------------------------------------- > > Key: CAMEL-4361 > URL: https://issues.apache.org/jira/browse/CAMEL-4361 > Project: Camel > Issue Type: Improvement > Components: camel-spring > Affects Versions: 2.8.0 > Reporter: David J. M. Karlsen > > The current implementation only allows for one given xsd schema. > I have some messages which have two namespaces. The outer schema declares some elements with lax processing. > By providing a http://static.springsource.org/spring-ws/sites/1.5/spring-xml/apidocs/org/springframework/xml/xsd/XsdSchemaCollection.html which references both schemas I would be able to validate the whole message - and not just the outermost one. > Either the existing implementation will have to be altered to allow for several paths, or it can be extended to reference a schemacollection. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira