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?