Problem: When invoking xmlStaxEventItemReader.setUnmarshaller() one
would get incompatible types as o.s.oxm.Marshaller cannot be
converted to o.s.oxm.Unmarshaller.
Solution: Change type of marshaller to o.s.oxm.Unmarshaller.
Problem: Changing the type of the marshaller variable to Unmarshaller
would result in an unknown symbol setAliases() because
Unmarshaller does not cover that method.
Solution: Just use the concrete type XStreamMarshaller.
Problem: The variable name for our XStreamMarshaller which is used as
Unmarshaller is called marshaller.
Solution: Rename the variable to unmarshaller.
See:
http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/oxm/xstream/XStreamMarshaller.html
http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/oxm/Unmarshaller.html
http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/oxm/Marshaller.html