[jdom-interest] Finding the DTD

Jason Hunter jhunter at collab.net
Mon Sep 4 13:50:01 PDT 2000


>       SAXBuilder builder = new SAXBuilder();
>       Document doc =  builder.build(in);
> 
>  I get an FileNotFoundException, because the parser tries to 
> find the DTD in a directory relative to
> the directory, the Webserver is started from.

That's why there's a build(InputStream, String) method.

-jh-




More information about the jdom-interest mailing list