[thelist] Re: SVG to JPG

Greg Holmes greg.holmes at gmail.com
Mon Jul 19 20:34:40 CDT 2004


Diane Soini wrote:

>Also the batik browser itself won't open these 
>SVGs. Says there is an error. But IE opens them
>just fine.

Famous last words ;)

That probably means that there *is* an error in the
SVG file, but IE is letting you get away with it but
rendering something that looks like what you want
(sound familiar?).

If so, this means two things:

1. You are relying on undefined behavior from Internet
Explorer (i.e. how it will handle a certain type of
error).

2. Other tools for manipulating or viewing SVGs will
either:

  a. refuse to process them (correctly, IMHO) or
  b. handle them in their own undefined way, which
     may be different from the undefined way that the
     version of Internet Explorer you happen to test
     with handles them.

Of course, it *could* just be a bug in Batik ;).  What 
exactly was the error message?  Have you verified
that your SVGs are in fact valid?

Greg Holmes


More information about the thelist mailing list