I have a XSD file who defines a datamodel.
I have generated the java classes with the xjc ant task.
When I print the JAXBElement my root node is like:
You apparently haven't included all the information, so it's difficult to tell, but take a look at the "namespace-prefix" example in the distribution.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.