camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <>
Subject Re: XML validation against encoding=UTF-8
Date Thu, 25 Aug 2011 21:14:10 GMT
Hello Santosh!

Please use the user@ mailing list for this kind of questions.

Could you please provide your XSD and sample XML files to make it easier for
us to check this?!


Sent from a mobile device
Am 25.08.2011 16:59 schrieb "skompelly" <>:
> Hi,
> I have two Questions regarding encoding.
> 1) In router, consuming xml message with encoding=Cp1252 and validating
> against xsd schema which has encoding as UTF-8 using camel *validator *
> component. The validator component is not validating the encoding=UTF-8,
> accepting Cp1252, its not throwing any error message like
> unsupportedencodingformat.
> How to validate xml against schema such that it should not accept any
> encoding except UTF-8?
> 2) In router , consuming xml message with encoding=UTF-8, and in one of
> element i have data as non UTF-8 characters, in this case the non UTF-8
> characters are replaced by "?". I am using validator component to validate
> against schema.
> How to validate xml against schema so that it should not allow non UTF-8
> chacters and throw error message?
> Thanks in Advance,
> Santosh
> --
> View this message in context:
> Sent from the Camel Development mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message