...I did put the batik-extension.jar, batik-svg-dom.jar in the classpath and then tried to convert into pdf. If I externally reference the svg file, everything works fine but if I embed the svg file in my fo document, it produces a blank pdf with the following errors:
Unknown Formatting Object http://xml.apache.org/batik/ext^flowText
How can the same svg work well when externally
referenced but not work when embedded in an fo
document? Can anybody help ?
The DOM for instream-foreign-objects is built by FOP. The current code uses an explicit mapping to a maker class for this. You'll have to provide an element mapping class as well as a maker class for any extension elements. The mapping class can be registered as a service as well as explicitely supplied to the Driver. Look into the source fo rthe Driver and the SVGElementMapping for hints and examples.
J.Pietschmann
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
