Thus spake Jeffrey Brent McBeth: > On Tue, Jun 05, 2007 at 10:27:34PM -0700, Rodney Kinney wrote: > > - Support for Scalable Vector Graphics (SVG) images > > When I try to save a module with a SVG file in it, I get the error > "Couldn't save module. > SAX2 driver class org.apache.xerces.parsers.SAXParser not found"
There are several problems which are contributing to this: 1. Your SVG uses flowRoot elements, which did not exist until SVG 1.2. In order for this to work, you need to set the version attribute on your root svg element ( <svg version="1.2" ... > ) otherwise Batik, our SVG library, won't load your SVG. 2. I was unable to load your SVG anyway using Batik 1.6, which is the version we're bundling with VASSAL 3.0beta2. Once I switched out Batik 1.6 for 1.7beta1, your map loaded for me. 3. There may be other problems too, that I don't yet know about. I'll move us to the newer version of Batik, and we'll get that out in the next interation of the beta. > I have SVG maps that I've been working on available at > http://broggs.org/~mcbeth/Celts > if it becomes necessary. Nice maps, BTW. -- J.
