-
Mar 16th, 2009, 09:11 AM
#1
Inhibiting XML Header in StaxEventItemWriter
Hi...
I'm trying to inhibit the StaxEventItemWriter from creating a header in my output XML.
Looking at the JavaDoc for the startDocument method it looks like that method should be 'protected' by implication that it should be overridden. In RC1 however, it is 'private'!
IMHO 'private' is fine, an 'inhibit header' flag would be useful, or perhaps check for a situation where 'encoding' and 'version' are blank/null.
I can circumvent the problem by duplicating this class in my project code, though for obvious reasons that's not something for the long term.
Rgds,
Steve.
-
Mar 16th, 2009, 09:56 AM
#2
startDocument() is now 'protected'. You will see this change in 2.0.0.RC2
-
Mar 16th, 2009, 02:47 PM
#3
Hello,
Could this change be reported in the 1.1.x release please or is the 1.1.4 release considered the last 1.1.x release ?
Thanks
-
Mar 16th, 2009, 02:50 PM
#4
Oups, didn't see fix was already reported :
http://jira.springframework.org/browse/BATCH-1122
Thanks !
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