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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to ignore DTD in xml files under JAXB?

843834Feb 7 2003 — edited Apr 14 2003
hi,

I have a program that has to access files which declare they use a DTD that no longer exists on the web in that location.

we don't have the option to alter the xml files since they don't belong to us!

I've written an equivalent schema and its all working with the files that have correct DTD references.

Is there a way to tell the unmarshaller not to attempt to use the DTD that the documents declare?

thanks,
asjf
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2003
Added on Feb 7 2003
2 comments
148 views