ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Generating an XML Document with JAXB
Subject:   Root element not generated
Date:   2006-12-14 09:05:44
From:   jeroenBos
Response to: Root element not generated

But when using jaxb 2.0 and using the xjc tool for generating objects from xsd's it tells me to use jdk 1.5.


the code posted works, only no root element is created. Do you have any idea how to solve this?
Or can i edit the xjc.bat that is uses 1.4x jdk?
thanks!