[jdom-interest] Errata

Brett McLaughlin brett.mclaughlin at lutris.com
Mon Sep 4 07:31:56 PDT 2000


> Harish Kumar wrote:
> 
> Hi
> 
> After implementing the corrections, as specified javaxml.800,ie:
> removing the import org.jdom.input.Builder and replacing the Builder
> with DOMBuilder, The following error is occuring after compiling:
> 
> E:\xml_test\jdom\src>javac DOMTest.java
> DOMTest.java:26: Incompatible type for method. Explicit cast needed to
> convert java.io.File to org.
> m.Document.
>       Document doc = builder.build(new File(args[0]));
>                                    ^
> 1 error
> 
> Please send me the suggestions to harish.kumar at patni.com

You need to get the latest version from CVS - you have beta 4, which is
really really old now ;-)

-Brett

> 
> Regards
> 
> Harish

-- 
Brett McLaughlin, Enhydra Strategist
Lutris Technologies, Inc. 
1200 Pacific Avenue, Suite 300 
Santa Cruz, CA 95060 USA 
http://www.lutris.com
http://www.enhydra.org



More information about the jdom-interest mailing list