Hi all,

I'm new to spring batch and trying to use the StaxEventItemReader/Writer using XstreamMarshaller. The job runs ok but some of the xml tags/variables contains underscore, i.e job_ident, and they all come out with double underscores in the output file(job__ident). I think this is caused by Xstream using _ as escape character by default, thus resulting in the double underscores.

Is there a way to configure StaxEventItemWriter or the XstreamMarshaller so that Xstream will use another escape character?

Thanks,
GON