David,
That did the trick. Now I need to get xincludes working... how did you
get Saxon to use the Xerces processor supporting xincludes?
Thanks,
Eric
On Thu, 2007-11-29 at 09:24 -0600, David Cramer wrote:
> Try adding classpath="path_to/saxon.jar" to your <xslt/> task. I also
> have processor="trax" but I don't know if that matters.
>
> David
>
> > -----Original Message-----
> > From: Jirka Kosek [mailto:]
> > Sent: Thursday, November 29, 2007 2:07 AM
> > To: Eric Johnson
> > Cc:
> > Subject: Re: [docbook-apps] Ant XSLT task error
> >
> > Eric Johnson wrote:
> >
> > >
> > 'com.sun.org.apache.xalan.internal.xsltc.compiler.ApplyTemplat
> > es@ad8659'.
> > > [xslt] : Fatal Error! Could not compile stylesheet
> >
> > It seems that you are using XSLTC as your XSLT engine (XSLTC
> > is default in Java 1.5+). The easiest workaround is to use
> > different XSLT engine, ideally Saxon 6.5.x. I'm not ant
> > expert, so try to consult ant documentation or Google on how
> > to change XSLT engine used.
> >
> > --
> > ------------------------------------------------------------------
> > Jirka Kosek e-mail: http://xmlguru.cz
> > ------------------------------------------------------------------
> > Professional XML consulting and training services
> > DocBook customization, custom XSLT/XSL-FO document processing
> > ------------------------------------------------------------------
> > OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
> > ------------------------------------------------------------------
> >
> >