customization creates null Elements
I'm trying to work with the <dom> JAXB customizations specified in JAXB 2.1 section 7.12. I want to have some elements of a schema left as plain old Elements so that I can stuff them in another object that takes a List<Element>. My problem is that the elements created from the <dom> customization are always null when XML is unmarshalled - even when the data should be there and is there without the customization. Has anyone experienced this or know why the Elements created by the <dom> customization aren't getting populated with w3c DOM elements? Let me know if I should attached some code and a schema.
Thanks in advance,