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!

how do i parse xml ignoring the doctype and dtd

843834Jul 25 2002 — edited Oct 9 2003
I have a project which involves converting information stored in xml into my own internal file format (a class structure) and then producing an applet with it. I know the xml is both well formed and valid but when i try to parse it the dtd throws an exception. the only way to work around this that i have found is to strip the doctype definition from the file before parsing. is there anyway i can simply ignore the doctype line in the xml document?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 6 2003
Added on Jul 25 2002
8 comments
2,547 views