xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Help on malformed SVG transcoding by servlet.
Date Wed, 06 Apr 2005 01:03:53 GMT
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: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message