Hi Francesc, 

I can only advice you to not concentrate too much on the line with the error. I 
had a similar Error for a png file and about four pages earlier in the logfile 
fop told me, batik was not available (which seems not to be your problem, but 
an example, how far reason and error can be away from each other). 

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: news [mailto:[email protected]] Im Auftrag von Francesc Alted
Gesendet: Mittwoch, 4. März 2009 09:57
An: [email protected]
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 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 it's a namespace problem 
> with the XML parser.

Uh. You mean something like?

$ sudo cp /usr/share/fop/lib/xercesImpl-2.7.1.jar
/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/endorsed

In case that I've managed to do what you wanted correctly, this does not have 
any effect.

> 
> You can also set the log level for
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry
> to DEBUG level so you can observe if PreloaderSVG is actually registered.

In fop script, I've set:

LOGCHOICE=-Dorg.apache.commons.logging.Log=
org.apache.commons.logging.impl.SimpleLog

LOGLEVEL=-Dorg.apache.xmlgraphics.image.loader.spi.ImageImplRegistry=DEBUG

and the error message is:

[ERROR] FONode - Image not available: No ImagePreloader found for pytables.svg

> 
> If that doesn't help, I'm out of ideas and the only thing left is 
> debugging PreloaderSVG.java in FOP.

Provided that I'm not a Java guy, that's going to be difficult.  However, I can 
arrange things to allow you access my machine, in case you are interested.

Thanks,

Francesc



---------------------------------------------------------------------
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