SpringSource/spring-batch — pull request #186 by jpraet (2013-06-15 08:38:51+00:00)
Title: BATCH-2046: StaxEventItemWriter item grouping tag

Adds support for closing elements in the footer callback that were opened in the header callback. Elements that were opened but not closed when writing the header callback are persisted to the execution context. On restart, these elements are closed in the footer callback by writing the close tags directly to the underlying java.io.Writer instead of to the XMLEventWriter.