Convert XSD element choice with "maxOccurs=unbounded" into individual list of objects
Problem defined here: http://archive.oreilly.com/pub/a/onjava/2003/12/10/jaxb.html?page=2 Plugins used: https://github.com/highsource/jaxb2-basics/wiki/JAXB2-Simplify-Plugin XSD Sample <xs:schema xmlns:tns="http://www.omnicogroup.com/FPF/namespace" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.omnicogroup.com/FPF/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="transaction"> <xs:complexType> <xs:sequence> <xs:choice maxOccurs="unbounded"> <xs:element name="TransactionDetails"> <xs:complexType> <xs:sequence> ...