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 3F60387C3 for ; Mon, 22 Aug 2011 14:34:53 +0000 (UTC) Received: (qmail 66565 invoked by uid 500); 22 Aug 2011 14:34:52 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 65990 invoked by uid 500); 22 Aug 2011 14:34:50 -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 65978 invoked by uid 99); 22 Aug 2011 14:34:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 14:34:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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 14:34:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8B89AAA251 for ; Mon, 22 Aug 2011 14:34:29 +0000 (UTC) Date: Mon, 22 Aug 2011 14:34:29 +0000 (UTC) From: "David J. M. Karlsen (JIRA)" To: dev@camel.apache.org Message-ID: <646347171.1246.1314023669568.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 [ https://issues.apache.org/jira/browse/CAMEL-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088735#comment-13088735 ] David J. M. Karlsen commented on CAMEL-4361: -------------------------------------------- So if "my" component will depend on: http://static.springsource.org/spring-ws/sites/1.5/spring-xml/apidocs/org/springframework/xml/xsd/commons/CommonsXsdSchema.html and org.apache.ws.commons.schema.XmlSchemaCollection then i guess I should stick it into camel-spring? > 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