OK, I downloaded the latest xalan & xerces, and installed the jars in the lib/endorsed dir.
I ran the servlet and got: null:4:80 fo:flow must contain block-level children Does the endorsed dir get loaded first, or are there some parsers build into one of the Tomcat core jars that are running instead? Thanks, Mike ----- Original Message ----- From: "Mike Kellstrand" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 3:43 PM Subject: Re: FOP code runs standalone, but not in a Servlet > Thanks for the reply. > I would think this would be a VFAQ, but I have seached > the web extensively and not found a good definitive answer. > > I'm downloading the latest releases of xerces and xalan. > I'll put the appropriate jars in the lib/endorsed dir and see if it works. > > Although there is still the very interesting question of why do the jars I > have > work from a stand-alone java program when placed in the jre\ext dir, > but don't work from a servlet when placed in the lib\endorsed dir? > > Thanks, Mike > > > ----- Original Message ----- > From: "J.Pietschmann" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 12, 2003 3:05 PM > Subject: Re: FOP code runs standalone, but not in a Servlet > > > > Mike Kellstrand wrote: > > > I have FOP code that runs great from the command line if I put the > > > fop, batik, avalon, and xalan jars in the JAVA_HOME\jre\lib\ext dir. > > > > You should put the xerces and xalan jars in the lib/endorsed > > directory in order to override the buggy xalan release coming > > with older JDK 1.4 distributions. Getting the latest 1.4 release > > and disposing of the Xalan jar completely should work too. > > > > Also, make sure you have a recent Xalan jar in the FOP lib > > directory, pre 0.20.5rc3 FOP distributions came with Xalan > > releases which pretended to work for some buggy style sheets, > > causing problems with more recent Xalans. > > > > This all is a VFAQ. > > > > J.Pietschmann > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
