File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes internal DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "internal DTD" Watch "internal DTD" New topic

internal DTD

Chris Harris
Ranch Hand

Joined: Sep 21, 2003
Posts: 231
Hi all,

I am developing an application that allows the user to configure the system using a XML config file. This config file is validated with a DTD which is currently visible to the client.

The problem I have found is that the clients are editing the DTD to skip the validation.

So I have come up with the idea of moving the DTD to within the jar file that the application is distributed in.

Searching the web I have come across the article (you may have to press refresh in order to see the article???)

Can anyone advice me if this is an appropriate approach or is there a better one out there.



I agree. Here's the link:
subject: internal DTD