title: How to validate XML file against XSD schema and list all validation errors
body: <p>I am validating xml against xsd, when first validation error is encountered its throwing first exception, But, through this approach, we cannot get information about all validation errors in the XML file in a single run. If an XML file has multiple validation errors, then in first run, the exception will be thrown as soon as the first error will be encountered and we do not get to know about remaining errors. To know about the subsequent errors, we need to fix the previous error and validate the file again and again till no exception is thrown.</p>
  
  <pre><code>onException( SchemaValidationException.class ) 
      .handled(true) 
      .to("file:invalid-data")
  
  from("file:in-data?noop=true")
      .to("validator:file:my.xsd")
      .to("file:out-data");
  </code></pre>