Item reader for reading XML input based on StAX.
It extracts fragments from the input XML document which correspond to records for processing. The fragments are
wrapped with StartDocument and EndDocument events so that the fragments can be further processed like standalone XML
The implementation is not thread-safe.