Return-Path: Mailing-List: contact fop-user-help@xml.apache.org; run by ezmlm Delivered-To: mailing list fop-user@xml.apache.org Received: (qmail 34429 invoked from network); 4 Mar 2002 08:35:29 -0000 Received: from purveyor8.dresdnerbank.de (193.194.7.54) by daedalus.apache.org with SMTP; 4 Mar 2002 08:35:29 -0000 Received: from ffzj0yga.dresdner.net (unverified) by PURVEYOR8.Dresdnerbank.de (Content Technologies SMTPRS 2.0.15) with ESMTP id for ; Mon, 04 Mar 2002 09:35:24 +0100 Received: from fztig938.bank.dresdner.net (fztig938.bank.dresdner.net [130.63.80.51]) by ffzj0yga.dresdner.net (8.8.8+Sun/8.8.8) with ESMTP id JAA15855 for ; Mon, 4 Mar 2002 09:35:23 +0100 (MET) Received: from localhost ([127.0.0.1] helo=fztig938 ident=keiron) by fztig938.bank.dresdner.net with esmtp (Exim 3.34 #1 (Debian)) id 16hnwJ-0004UV-00 for ; Mon, 04 Mar 2002 09:35:23 +0100 Date: Mon, 4 Mar 2002 09:35:23 +0100 From: Keiron Liddle To: fop-user@xml.apache.org Subject: Re: FopServlet question Message-Id: <20020304093523.A13696@fztig938.bank.dresdner.net> References: <003b01c1c152$b08ec470$a56ef5cf@BIGBONGO> <3C7FDAE3.9575C172@synergizethis.com> <001101c1c197$909e23f0$a56ef5cf@BIGBONGO> MIME-Version: 1.0 In-Reply-To: <001101c1c197$909e23f0$a56ef5cf@BIGBONGO>; from tj@tjinc.com on Sat, Mar 02, 2002 at 04:08:39 +0100 X-Mailer: Balsa 1.2.4 Lines: 40 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Lets consider what this problem could be: - you are getting a transform error when using xml and xslt (stylesheet error) - the files from the distribution also have the problem - the files in the distribution work in the distribution - your file probably also work on the command line - the FopServlet works (I have tested it) This immediately tells us the it is a problem with the environment. What is different? You are running in a servlet. What libraries does the servlet use to run? I'm sure it is using an xml parser and possibly an xslt processor. So fix your classpath, ie. remove old/incompatible versions of xml libararies. (Note: jdk1.4 includes an xml parser) On 2002.03.02 04:08 TJ Smith wrote: > Hello > The xsl and xml files are rather huge and most likely would not be > welcomed > with open arms by the group :-) I have attached relevant bits of both > files > and the error walkback from executing FopServlet below. I have also > tried > the FopPrintServlet with identical results viz. works fine with 'fo' > parameter, squawks about "stylesheet requires attribute: version' if > invoked > with 'xml' and 'xsl' parameters. I tried using xsl and xml files from > the > fop 20.3 distribution - and they produced the same disappointing results. > I > have recompiled both servlets without error - and have the jar files that > came with fop 20.3 in the path. This is making me crazy - crazier, > actually > :-) - so any and all advice is appreciated! > > Note that I did have the XSLT and FO namespaces in he stylesheet - but > thanks for the suggestion :-)