Stevo,

Castor cannot be of any help here, as it's the underlying XML parser
that's reporting the issue. Having said that, I am not sure (at all)
whether any XML parser can be configured to avoid this error reporting.
And imho the error reported is correctly reported.

Regards
Werner

Stevo Slavić wrote:
> Hello all,
> 
> Processing of an XML with Castor broke when it encountered "An invalid
> XML character (Unicode: 0x19) was found in the element content of the
> document". In XML header it stated that document is UTF-8 encoded, but
> it seems that encoding wasn't valid. Elements with invalid content were
> supposed to be some strings in Hebrew, Japanese, and Arabic.
> 
> Unfortunately I can not influence XML generation, but have to process
> it. I'd be grateful if anyone can please point me to some documentation
> or example that demonstrates how to configure Castor to ignore and skip
> such invalid elements, or even better, provide me with a mechanism for
> handling and possibly recovering from such situations.
> 
> Thanks in advance!
> 
> Regards,
> Stevo.
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to