RE: Problem with SVG in FOP rendering

2005-07-25 Thread Pascal Sancho
Hi,
I encountered this behaviour when I used a JDK 1.3 plus tomcat 4.1

Since I have upgraded my platform to JDK 5 and tomcat 5.5, this error
did not occur.

Upgrading JDK gives another advantage: rendering speed (approx X2)  ;)


Pascal SANCHO

 -Message d'origine-
 De : Bielik, Robert [mailto:[EMAIL PROTECTED] 
 
 JDK 1.3.1/FOP 0.20.5
 
 I have an application where I transform an XML into a XSL-FO 
 for rendering with the FOP AWT renderer. A standalone app 
 doing this works perfectly. However, when I want to embed my 
 app into my main application, it doesn't work. 
 
 As soon as I exclude the embedded SVG parts, it works again.
 
 I suspect it is a version problem with different XML parsers, 
 since my main app uses xerces too (but not the same version 
 as FOP 0.20.5 uses).
 
 One of the errors I've gotten is:
 java.lang.NoSuchMethodError: 
 org.apache.batik.dom.AbstractAttr: method isReadonly()Z not found
 
 Other variants are NullPointerExceptions.
 
 Everything seems to relate to Batik/XML but I can't get it to work.


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



Re: FOP 0.20.5 and PNG

2005-07-25 Thread Chris Bowditch

[EMAIL PROTECTED] wrote:

Hello List,

I know this topic has been discussed several times, and I've so fare figured
out, that I need Jimi in order to get my PNG graphics displayed in the
result PDF file. 
So I downloaded Jimi 1.0. What I got was a collection of java files. Being

quite a Java nerd, it took me some time to compile the java file to class
archives (yes, now I know that there is a file called compile.bat).
After some search, I figured out that I had to compile this again, to
generate a jar archive. I build this myself using this string:


You don't need to do any of this. Jimi is already built for you. Perhaps 
you downloaded it from the wrong place? The link to the download and how 
to include Jimi so FOP will recognise it is documented here:


http://xml.apache.org/fop/graphics.html#jimi

snip/


LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi1_0.jar


Notice that Jimi is already in the classpath as jimi-1.0.jar. I believe 
you have given it the wrong name which is (maybe) why FOP doesn't think 
it's installed.


Chris


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



RE: [EMAIL PROTECTED] last week

2005-07-25 Thread Matthias Wessendorf
Jeremias,

the talk was fine. Thanks for that.
We both talked on monday (at Apache booth) ;)

BTW. during the session there was a question regardings WordML.
On my day job we played with that fo2wordml project, but it doesn't cover
all of the WordML.

Nice to meet you.

-Matthias (Apache MyFaces)

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