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!

DTD validation without a <!DOCTYPE>

843834Sep 8 2002 — edited Sep 16 2002
I am doing some integration with a third-party. The project involves sending an XML request, receiving a response, parsing, and displaying the results in a browser. I have received DTDs from the third party, and must validate the request before the message is sent (posted) from my side. However, the third party requires that a <!DOCTYPE> declaration should not exist in the document. Can someone give me an example of how to validate an XML document with no <!DOCTYPE>? I am building the document object with JDOM. Also, any suggestions on a parser implementation?

Thanks,

Ben
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2002
Added on Sep 8 2002
8 comments
391 views