Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

setting the DTD in the JAXB generated Java Classes

843834Jul 9 2002 — edited Jul 10 2002
Hi All,

I have generated the Java Source file for a DTD using the xjc tool that comes with JAXB .
Now from the Class files i can unmarshall and get the XML file . But in the generated XML output file we don't have the <!DOCTYPE > Element which binds the XML to the DTD .

Is it possible to specify the DTD ? If so Where can we specify that .

Thanks for your help...
Sateesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2002
Added on Jul 9 2002
1 comment
314 views