Two consecutive elements with jaxb:dom annotations seems to get confused during unmarshalling. See attached schema.
For the following XML snippet:
The unmarshalling produces obviously wrong output (the source code attached):
Using JAXB Version: 2.2.3
source: [c:target: null]
Adding a separator element between <c:source> and <c:target> does not help. Also making <c:source> mandatory does not help. So we are efficiently out of reasonable workarounds here.