Bug description
StaxEventItemReader uses platform default encoding to read XML files.
Environment
Spring-batch version 4.3.0. Related to #807
Steps to reproduce
Just try to parse an XML file with a declared encoding different to the platform encoding.
Expected behavior
Encoding field in StaxEventItemReader should default to null, so that the parser has the opportunity to autodetect the file encoding.
Bug description
StaxEventItemReader uses platform default encoding to read XML files.
Environment
Spring-batch version 4.3.0. Related to #807
Steps to reproduce
Just try to parse an XML file with a declared encoding different to the platform encoding.
Expected behavior
Encoding field in StaxEventItemReader should default to null, so that the parser has the opportunity to autodetect the file encoding.