I'm getting the same problem on attempting to build xsltc.compile and
xsltc.jar now, after updating my cvs workspace.

I can't understand why it didn't happen yesterday. Just before Todd
and Morten went on vacation, I did a cvs update, built xsltc and ran some tests.
It seemed fine. I don't see anything checked in since yesterday
that would have introduced the problem. Looks like it was caused
by Morten's checkin on Monday. He added the following to TransletOutputHandler.java

 +    public void close();

That was part of an enhancement he did to enable the output to
be written to files.

Thanks John, for investigating this. Do you want to putback
your fix?

Tom


John Howard wrote:

> 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