Women in Technology

Hear us Roar



Article:
  Generating an XML Document with JAXB
Subject:   Root element not generated
Date:   2006-12-14 08:31:00
From:   dvohra09
Response to: Root element not generated

Use JWSDP 2.0 with JDK 1.4.x.
JWSDP 2.0 has the JAXB 2.0 implementation.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Root element not generated
    2006-12-14 09:05:44  jeroenBos [View]

    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!