Re: AW: No ImagePreloader found for *.svg [SOLVED]

2009-03-05 Thread Francesc Alted
Well, after some digging on my system, I noticed this: /usr/lib64/jvm/java - /etc/alternatives/java_sdk *and* /etc/alternatives/java_sdk - /usr/lib64/jvm/java-1.5.0-gcj so, it seems that the java home was incorrectly set to the gcj one! After doing this: /etc/alternatives/java_sdk -

Re: AW: No ImagePreloader found for *.svg [SOLVED]

2009-03-05 Thread Andreas Delmelle
On 05 Mar 2009, at 11:27, Francesc Alted wrote: /etc/alternatives/java_sdk - /usr/lib64/jvm/java-1.5.0-gcj so, it seems that the java home was incorrectly set to the gcj one! After doing this: OK, that makes sense. GCJ comes bundled with its own GNU XML parser, which I know misses some

Re: AW: No ImagePreloader found for *.svg

2009-03-04 Thread Francesc Alted
Andreas Delmelle andreas.delmelle at telenet.be writes: Not really as detailed as I had hoped, but I guess that would need some more fiddling with the logger options... See the fop script, all the way at the bottom, and uncomment the LOGCHOICE for Commons SimpleLog and the LOGLEVEL. If

Re: AW: No ImagePreloader found for *.svg

2009-03-04 Thread Francesc Alted
Jeremias Maerki dev at jeremias-maerki.ch writes: Another idea, but probably with little chance of success in this particular case: Try replacing Xerces with the version bundled with FOP, i.e. put xerces.jar in JRE-HOME/lib/endorsed. It's really unlikely (as you're using Java 1.6) but maybe

AW: Re: AW: No ImagePreloader found for *.svg

2009-03-04 Thread Georg Datterl
Auftrag von Francesc Alted Gesendet: Mittwoch, 4. März 2009 09:57 An: fop-users@xmlgraphics.apache.org Betreff: Re: AW: No ImagePreloader found for *.svg Jeremias Maerki dev at jeremias-maerki.ch writes: Another idea, but probably with little chance of success in this particular case: Try replacing

Re: No ImagePreloader found for *.svg

2009-03-04 Thread Vincent Hennebert
Hi Francesc, Francesc Alted wrote: snip/ Anyway, something else to check: 3-mar-09 8:26:09 org.apache.fop.fo.properties.CommonBorderPaddingBackground init SEVERE: Background image not available: http://docbook.sourceforge.net/release/images/draft.png Does this PNG fail because you are not

Re: No ImagePreloader found for *.svg

2009-03-04 Thread Francesc Alted
Vincent, Vincent Hennebert vhennebert at gmail.com writes: I can render your document without any problem on my 64-bit Ubuntu, both with FOP 0.95 and FOP Trunk. Well, it's a relief to know that my machine would be able to do the same too. The problem now is how to do it... You said you

Re: AW: No ImagePreloader found for *.svg

2009-03-04 Thread Andreas Delmelle
On 04 Mar 2009, at 09:40, Francesc Alted wrote: Hi I've managed to do this (changing the LOGLEVEL from INFO to DEBUG), and you can see the result in: http://pytables.org/temporal/fop-debug.out Ok, so we know for certain that the PreloaderSVG is registered nicely. (Below some more info,

Re: AW: No ImagePreloader found for *.svg

2009-03-04 Thread Jeremias Maerki
On 04.03.2009 19:15:54 Andreas Delmelle wrote: On 04 Mar 2009, at 09:40, Francesc Alted wrote: Hi I've managed to do this (changing the LOGLEVEL from INFO to DEBUG), and you can see the result in: http://pytables.org/temporal/fop-debug.out Ok, so we know for certain that the

No ImagePreloader found for *.svg

2009-03-03 Thread Francesc Alted
Hi, I'm having problems with fop (0.95) on my new openSUSE 11.1 (64-bit) machine. What I'm trying to do is to get a PDF out of a fo file (created with xsltproc) that includes some SVG graphics. fop can process the fo file, but refuses to include the graphs. For each SVG file, it raises the

AW: No ImagePreloader found for *.svg

2009-03-03 Thread Georg Datterl
...@ger.gmane.org] Im Auftrag von Francesc Alted Gesendet: Dienstag, 3. März 2009 14:25 An: fop-users@xmlgraphics.apache.org Betreff: No ImagePreloader found for *.svg Hi, I'm having problems with fop (0.95) on my new openSUSE 11.1 (64-bit) machine. What I'm trying to do is to get a PDF out of a fo

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Francesc Alted
Francesc Alted faltet at pytables.org writes: Sorry, but I'm a bit naive with java environments. I see this file: -rw-r--r-- 1 root root 3318083 31 jul 2008 /usr/share/fop/lib/batik-all-1.7.jar and the same goes for: -rw-r--r-- 1 root root 517073 31 jul 2008

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Francesc Alted
Francesc Alted faltet at pytables.org writes: Francesc Alted faltet at pytables.org writes: Sorry, but I'm a bit naive with java environments. I see this file: -rw-r--r-- 1 root root 3318083 31 jul 2008 /usr/share/fop/lib/batik-all-1.7.jar and the same goes for: -rw-r--r-- 1

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Jeremias Maerki
On 03.03.2009 19:46:19 Francesc Alted wrote: Francesc Alted faltet at pytables.org writes: Francesc Alted faltet at pytables.org writes: Sorry, but I'm a bit naive with java environments. I see this file: -rw-r--r-- 1 root root 3318083 31 jul 2008

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Andreas Delmelle
On 03 Mar 2009, at 19:20, Francesc Alted wrote: Hi Jeremias Maerki dev at jeremias-maerki.ch writes: Probably a class-loader issue. I'd avoid using the CLASSPATH environment variable wherever possible (which is pretty much always). Please make sure fop.jar, xmlgraphics-commons.jar and

Re: No ImagePreloader found for *.svg

2009-03-03 Thread Vincent Hennebert
Hi Francesc, Do you have a doctype declaration in your svg file? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.1//EN http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; I’ve had problems in the past with svg files not having a doctype declaration, thus not recognized as being svg by FOP. But I don’t

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Francesc Alted
Jeremias Maerki dev at jeremias-maerki.ch writes: which seems good to my eyes... I agree..if the CLASSPATH environment variable doesn't contain any of the above JARs. Nope. I've unset the CLASSPATH before running fop for this case. Francesc

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Francesc Alted
Andreas Delmelle andreas.delmelle at telenet.be writes: No, you're correct. Everything you posted after this looks correct too, so I'm a bit puzzled. The file-permissions should be fine. I just tried changing them to read-only on my end, and this posed no problems whatsoever. Try

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Jeremias Maerki
Hmm, in that case, it would actually be interesting to take a look at the SVG file you're trying to use (as Vincent suggested). On 03.03.2009 20:31:55 Francesc Alted wrote: Jeremias Maerki dev at jeremias-maerki.ch writes: which seems good to my eyes... I agree..if the CLASSPATH

Re: No ImagePreloader found for *.svg

2009-03-03 Thread Francesc Alted
Hi Vincent, Vincent Hennebert vhennebert at gmail.com writes: Hi Francesc, Do you have a doctype declaration in your svg file? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.1//EN http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; No. Mine starts with: ?xml version=1.0 encoding=UTF-8

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Andreas Delmelle
On 03 Mar 2009, at 20:38, Francesc Alted wrote: Hi Andreas Delmelle andreas.delmelle at telenet.be writes: Try running FOP with the '-d' switch. You should get a bit more info about what happens before the error occurs, which could give a hint as to what's going wrong... Here it goes

Re: AW: No ImagePreloader found for *.svg

2009-03-03 Thread Jeremias Maerki
On 03.03.2009 21:28:18 Andreas Delmelle wrote: snip/ Using the sample tarball you provided, I cannot immediately reproduce any of the error messages, although I do get a complaint from PreloaderSVG about an invalid byte 1 of a 1-byte UTF-8 sequence. The SVG is included in the end-result,