[jdom-interest] Problem with DTD

Steven Smith ssmith at neonsys.com
Tue Sep 19 08:50:59 PDT 2000



(Embedded image moved to file: pic22322.pcx)   Steven Smith @ NEON
09/19/2000 10:50 AM


My apologies for the most basis of questions....

I have a very simple XML document that I'm trying to manipulate with JDOM.
The DOCTYPE is as follows:

     <!DOCTYPE test SYSTEM "test.dtd">

When I attempt to construct a Document via SAXBuilder.build(), I get the
following exception:

     org.jdom.JDOMException: File "test.dtd" not found.: Error on line 0:
File "test.dtd" not found.

I am running my program from the command prompt in Windows 2000 and
test.dtd is in my current directory.  I don't understand why the dtd can't
be located.

Any help would be most appreciated.

Thanks,

Steven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic22322.pcx
Type: application/octet-stream
Size: 1522 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20000919/97b07f8c/pic22322.obj


More information about the jdom-interest mailing list