I implemented and empty method close() for class SAXAdapter. I couldn't
figure out what should be 'close'ed for this class so I left it empty and
things now compile and run.

BTW I'm only using command-line xsltc, and I noticed that this error
might've been added as a result of doing some work with streams. If you
depend upon streams functionality then making my suggested local patch may
cause things to not compile or run properly.

cheers,

john

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 8:11 AM
> To: [EMAIL PROTECTED]
> Subject: xsltc.jar compile error
> 
> 
> When I try to do a complete Xalan-Java build, I get the 
> following compile
> error for the xsltc.jar target:
> 
>     [javac] C:
> \xml-xalan\java\src\org\apache\xalan\xsltc\dom\DOMImpl.java:2519:
> class org.apache.xalan.xsltc.runtime.SAXAdapter is an 
> abstract class. It
> can't b
> e instantiated.
>     [javac]     return new SAXAdapter(getBuilder());
>     [javac]            ^
>     [javac] C:
> \xml-xalan\java\src\org\apache\xalan\xsltc\runtime\SAXAdapter.java
> :70: class org.apache.xalan.xsltc.runtime.SAXAdapter must be declared
> abstract.
> It does not define void close() from interface
> org.apache.xalan.xsltc.TransletOu
> tputHandler.
>     [javac] public final class SAXAdapter implements 
> TransletOutputHandler
> {
>     [javac]                    ^
>     [javac] 2 errors
> 
> BUILD FAILED
> 
> Can anyone help?
> 

Reply via email to