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]

Reply via email to