Hi, the restricting or bug that for Validator.validate(source) the source parameter must be of type DOMSource and SAXSource was fixed in 2003!
See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4945750 I use the following snippet in some projects: validator.validate(new StreamSource(new StringReader(messageData.trim()))); PS: I always trim the input string for robustness reasons, because trailing characters or whitespaces after the ending xml root element causes an exception to be thrown. -- View this message in context: http://www.nabble.com/XML-Validation-throws-NoXmlBodyValidationException-tp24147734p24162992.html Sent from the Camel - Users mailing list archive at Nabble.com.