users@jaxb.java.net

Populating elements jaxb2-reflection RegistryInfoImpl never created

From: Young Matthew (4004) <"Young>
Date: Tue, 11 May 2010 08:19:01 +0000

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?