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!

JAXB - write doctype & do not search for dtd

843834Mar 21 2003 — edited Mar 29 2003
Hi,

I'm using JAXB 1.0 final version (with XML Schema).
But my application needs to talk to another one not using Schemas but DTD.
So my XML needs to have the "doctype" tag after marshalling.
But I can't find how to set it ...
Second when unmarshalling an answer JAXB is searching for the DTD file defined in the "doctype" tag (the other application puts it ...) even if I'm setting validation to false, why ?
I don't want JAXB to search for this DTD file, how can I do ?

Thanks,

Jerome.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2003
Added on Mar 21 2003
5 comments
540 views