Jeremias,

You are correct - java version "1.5.0_01". And yes I know it is still
very new.

I needed session replication with Tomcat 5.5.7 and Java 1.5 was
recommended (there is a mode that works with Java 1.4 also).

Thank you for the API reference I will take a look.

 - Richard

-----Original Message-----
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 03, 2005 12:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could
not be built"


You're asking for something to work that was written before JDK 1.5 was
out. 1.5 has some serious consequences. Not everything is guaranteed to
continue working. BTW, are you sure you mean 1.5.1 or rather 1.5.0_01
which is the latest version? Just keep in mind that due to these bigger
changes it will again take a long time until more people will migrate to
the newer JDK. Just remember how long it took until 1.4 was wide-spread.

I wonder why you persist in using an XSL-FO wrapper when all you want to
do is convert SVG to PDF. In this case Batik's Transcoder API would be
more appropriate. The additional content could easily be added in an
all-SVG wrapper around the SVG image.

Anyway, the new API isn't documented, yet, but examples can be found
under the following URL:
http://xml.apache.org/fop/embedding.html#examples

(Click on the "future 1.0dev" links).

If you continue to run into problems with 1.5 (or 5.0 or whatever Sun
tries to name it) please let us know. Some problems have already been
fixed (in CVS HEAD).

On 03.02.2005 03:51:02 Richard Mixon (qwest) wrote:
> My build of FOP from 2004/05/29 works fine on Sun Java 1.4.1_02 with
> Tomcat 5.0.19, but when I move toSun Java 1.5.1 and Tomcat 5.5.7 I get
> the URI I/O error listed below. This build included a Batik.jar with
> files dates 10/11/2003.
>
> The exception message below seems to indicate it is choking on the
> SmileyFace.gif file - but I am not sure why. I google the archives and
> could not really find a problem with Java 1.5 and FOP/Batik.
>
> I went and downloaded the latest CVS of FOP, but it looks like the
> Driver class my code depended on is now gone. I could not find any doc
> on how to use the new APIs.
>
> I found one Wiki page
>
(http://wiki.apache.org/xmlgraphics-fop/SvgNotes/PdfTranscoderTrueTypeEm
> bedding), but it expects a pure SVG file. I have been wrapping my svg
> graphic with FO markup (see below the exception for how it normally
> appears)
>
> Any ideas on how to either fix the current problem, or do an SVG to
PDF
> transform with the new API?

<snip/>


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to