Found the problem. I wasn't setting my xlink namespace correctly.
On Mon, May 20, 2013 at 1:52 PM, Anthony Rowlands <[email protected]>wrote: > I'm trying to use PNGTranscoder on an SVG Document that has nothing but an > image tag in it. I am trying to xlink to an image on my local filesystem, > and then convert to PNG. > > I get this error: > > org.w3c.dom.DOMException: The given name ("/absolute/path/to/image.png") > is an invalid XML name. > > The same SVG file loads into a browser without any problems. Any ideas? > >
