camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
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?!

Best,
Christian

Sent from a mobile device
Am 25.08.2011 16:59 schrieb "skompelly" <skompelly@gmail.com>:
>
> Hi,
>
> I have two Questions regarding encoding.
>
> 1) In router, consuming xml message with encoding=Cp1252 and validating
this
> against xsd schema which has encoding as UTF-8 using camel *validator *
> component. The validator component is not validating the encoding=UTF-8,
its
> accepting Cp1252, its not throwing any error message like
> unsupportedencodingformat.
>
> How to validate xml against schema such that it should not accept any
other
> encoding except UTF-8?
>
> 2) In router , consuming xml message with encoding=UTF-8, and in one of
the
> 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:
http://camel.465427.n5.nabble.com/XML-validation-against-encoding-UTF-8-tp4734776p4734776.html
> Sent from the Camel Development mailing list archive at Nabble.com.

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