Inhibiting XML Header in StaxEventItemWriter
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.