[jdom-interest] dtd FileNotFound
GB/DEV - Philip Nelson
philip.nelson at omniresources.com
Mon Feb 19 20:06:48 PST 2001
Here is something from Dave Megginson on xml-dev...
What happens if you make that a proper URI, i.e.
URIs are a little different on multi rooted filesystems like Windows
Also check out Elliote Rusty Harolds XML Bible or his website at
> -----Original Message-----
> From: Louis Ho [mailto:Louis.Ho at orion.co.nz]
> Sent: Sunday, February 18, 2001 10:38 PM
> To: 'jdom-interest at jdom.org'
> Subject: [jdom-interest] dtd FileNotFound
> why is that i always get a FileNotFound exception when i try
> to parse a xml
> file with the dtd filepath set and validation on? i've check
> for so many
> times with dtdfile.exist() to make sure the path is correct.
> but no matter
> where i put the dtd file, either local or network, it'll
> never get it and
> throw me the FileNotFound exception. i have try all sorts of
> path format
> like "file://host/file", "c:\file", "//host/file" and all
> sorts of slashes
> both "/" and "\" and still doesn't work. please help!
> To control your jdom-interest membership:
> uraddr at yourhost.com
More information about the jdom-interest