[jdom-interest] validation + classpath

olivier refalo orefalo at yahoo.com
Sun Oct 22 21:25:34 PDT 2000


I have a simple, yet interesting question...

As a new Jdom/Xml user I am trying to validate an XML
document with a DTD stored in the CLASSPATH.

Is there any way to set the DTD for a given document ?
I was thinking about a method like:

Document.setDTD(InputStream is);
document.validate();

Any suggestions are welcome.
Thanks,
OR.



=====
__________________________________________________
Olivier Refalo / Software engineer
Java/DistibutedSystems/UnixSysop/WebSpecialist/Security
http://www.crionics.com/orefalo / mailto:orefalo at yahoo.com
_________________________________________________
Java: A simple, object oriented, distributed, interpreted, robust, secure, architecture neutral, portable, high-performance, multi-threaded, and dynamic language.
Cited from (The Java Language: A White Paper) by SUN Microsystems.

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/



More information about the jdom-interest mailing list