You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/11 23:52:04 UTC

[jira] [Commented] (CAMEL-4361) Improve validator to accept several schemas

    [ https://issues.apache.org/jira/browse/CAMEL-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623589#comment-14623589 ] 

Claus Ibsen commented on CAMEL-4361:
------------------------------------

Ah yeah lets try to see if we can add support for 1 or more xsd schemas in the validator. We could just allow to define multiple separated by comma, and then figure out how to use those with the java validation api. Since spring can do it, we should be able to do as well.

> 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-core
>    Affects Versions: 2.8.0
>            Reporter: David J. M. Karlsen
>             Fix For: Future
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)