-
Dec 22nd, 2009, 08:06 AM
#1
Getting double underscores in xml when using StaxEventItemWriter
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules