File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "internal DTD" Watch "internal DTD" New topic
Author

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.

Thanks

Chris.


SCJP 1.2, SCWCD, SCBCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: internal DTD
 
Similar Threads
iBatis 2, Spring 2.5 - FileNotFoundException: http://www.mybatis.org/dtd/sql-map-config-2.dtd
XML parser search for DTD
struts error
WebSphere 6.0 looking up Internet for dtd file
DTD seach path for Xerxes parser