Hi,

i stupid question: why you must get the body as DOMSource for validating in
ValidationProcessor?

It would also possibly to use the body as String for example:

Source source = new StreamSource(
    new StringReader(
        exchange.getIn().getBody(String.class)));



-- 
View this message in context: 
http://www.nabble.com/XML-Validation-throws-NoXmlBodyValidationException-tp24147734p24161746.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to