The ticket https://issues.apache.org/jira/browse/CAMEL-4361 covers this case.

2011/10/30 Christian Müller <christian.muel...@gmail.com>:
> I wanted to add the missing unit test for handling multiple schema file,
> but it doesn't work. :-(
> I made a test where a root schema file imports a nested schema file. Bot
> schema file was valid. But I got an exception by starting the route. I
> think to support multiple schemas, we have to use
> schemaFactory.newSchema(Source[] sources);
> instead of
> schemaFactory.newSchema(Source source);
> but I'm not sure. We have to figure it out...
>
> Feel free to open a JIRA to track this issue as improvement.
>
> Best,
> Christian
>
>
> On Sat, Oct 29, 2011 at 10:04 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
>
>> On Fri, Oct 28, 2011 at 1:13 PM, Lars <lars.stuev...@ergogroup.no> wrote:
>> > I'm using Camel 2.8.2 and I try to use the Validator with a schema which
>> > includes other schemas?
>> > Is this functionality supported?
>> > If yes, how do I specify the schemas?
>> >
>>
>> Have you tried to include the other schemas from a schema file?
>> I assume you can use some sort of xsd:include or xsd:import or whatever
>> you do.
>>
>> >
>> > Lars Stuevold
>> >
>> > --
>> > View this message in context:
>> http://camel.465427.n5.nabble.com/Validation-supporting-schemas-with-includes-tp4945655p4945655.html
>> > Sent from the Camel - Users mailing list archive at Nabble.com.
>> >
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: cib...@fusesource.com
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.blogspot.com/
>> Author of Camel in Action: http://www.manning.com/ibsen/
>>
>



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Reply via email to