Using JAXB 2 reflection....
The RuntimeTypeInfoSet never returns elements with the getAllElements method. Looks like the RegistryInfoImpl never gets created thus calling the add(Element) method in the TypeInfoSet class. Adding a registry is only done twice in the model builder. Once when establishing property information for beans and again when handling non-elements. In both cases when deciding how to create beans or elements.
Why? Why does the framework never automatically add element information? How to trigger it?