Hi Nicola,
Nicola Rampazzo wrote:
I'm working in a Tomcat 5.0.x (on Win2k) environment running a servlet (see file ViewImage2.java) to convert SVG to PNG. It runs smoothly with most files but when files (exported in SVG from CorelDraw 12) are malformed (thanx Corel!) because of duplicated "id" attributes, the servlet + the entire tomcat5.exe process CRASH unexpectedly. As you can notice I set "KEY_XML_PARSER_VALIDATING" hint to "false" in order to prevent "Malformed DTD" error. An example of "faulty" SVG can be found at: http://statistica.regione.veneto.it/images/bad.svg
a "good" one at http://statistica.regione.veneto.it/images/good.svg
Without any information on where it crashes I can't really help. Can you get a stack dump or something?
BTW, transcoding with command-line batik-rasterizer.jar without "-validate" does the job with no warnings...
Am I missing something? Thanks to everyone, forgive my poor english...
Nicola Rampazzo
------------------------------------------------------------------------
--------------------------------------------------------------------- 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]
